|
@@ -1,6 +1,6 @@
|
1
|
|
---- postfix-2.10.2/makedefs 2013-02-04 05:33:13.000000000 +0400
|
2
|
|
-+++ postfix-2.10.2_patched/makedefs 2013-11-19 22:48:50.528560454 +0400
|
3
|
|
-@@ -190,9 +190,9 @@
|
|
1
|
+--- a/makedefs
|
|
2
|
++++ b/makedefs
|
|
3
|
+@@ -190,9 +190,9 @@ error() {
|
4
|
4
|
|
5
|
5
|
case $# in
|
6
|
6
|
# Officially supported usage.
|
|
@@ -13,7 +13,7 @@
|
13
|
13
|
case "$VERSION" in
|
14
|
14
|
dcosx*) SYSTEM=$VERSION;;
|
15
|
15
|
esac;;
|
16
|
|
-@@ -522,9 +522,9 @@
|
|
16
|
+@@ -522,9 +522,9 @@ EOF
|
17
|
17
|
esac
|
18
|
18
|
for name in nsl resolv
|
19
|
19
|
do
|
|
@@ -21,7 +21,7 @@
|
21
|
21
|
+ for lib in /usr/lib64 /usr/lib64/* /usr/lib /usr/lib/* /lib /lib/*
|
22
|
22
|
do
|
23
|
23
|
- test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
|
24
|
|
-+ test -e $PKG_BUILD_DIR/$lib/lib$name.a -o -e $PKG_BUILD_DIR/$lib/lib$name.so && {
|
|
24
|
++ test -e $STAGING_DIR/$lib/lib$name.a -o -e $STAGING_DIR/$lib/lib$name.so && {
|
25
|
25
|
SYSLIBS="$SYSLIBS -l$name"
|
26
|
26
|
break
|
27
|
27
|
}
|