diff options
author | dholland <dholland> | 2015-08-10 05:03:36 +0000 |
---|---|---|
committer | dholland <dholland> | 2015-08-10 05:03:36 +0000 |
commit | 66b4fb22e6d2fb563d105e62611ce42c8f488787 (patch) | |
tree | cab6f236d222573a02f786f70f908b75df6d4b14 /comms | |
parent | 951c242de974b2656da3e3be429099100708de37 (diff) | |
download | pkgsrc-66b4fb22e6d2fb563d105e62611ce42c8f488787.tar.gz |
Fix broken build, caused by wrapper reordering of .a files vs. -l options.
Symptom: HYLAFAX_VERSION_STRING not found while linking.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/distinfo | 4 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-ae | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo index 6fdc4beec2b..1df89ee80d3 100644 --- a/comms/hylafax/distinfo +++ b/comms/hylafax/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.26 2014/03/14 15:59:29 adam Exp $ +$NetBSD: distinfo,v 1.27 2015/08/10 05:03:36 dholland Exp $ SHA1 (hylafax-6.0.6.tar.gz) = 8d8cc9a5f242ef83d7bc6f5cd200fec1351b280e RMD160 (hylafax-6.0.6.tar.gz) = 1f6e3022fe9886f2cde9fb406277d5496ee24f1c @@ -7,7 +7,7 @@ SHA1 (patch-aa) = 54f34633757a4925084d9e7e4c1e743bca48e4ba SHA1 (patch-ab) = 5ee930814178223fa66dd308f365ff400559fd1d SHA1 (patch-ac) = b2051ac2e43d0635797043605d96f128e535c976 SHA1 (patch-ad) = a7e361980c94a025be0b326c1cf694cce3cbff72 -SHA1 (patch-ae) = 031813b7a130cb7ee99596be88aa933e6ec8786e +SHA1 (patch-ae) = 75024769daca0657e8c0ba4a655ee7993c453120 SHA1 (patch-af) = f1dd817fcd086bfdd354351dc0b92027250edcba SHA1 (patch-ag) = 52024e0184e2607c6cfb2c6c19c9f31b3c37ec95 SHA1 (patch-ah) = 8558a0f9d970ce1cddbeb76fc87a1c450bd0941d diff --git a/comms/hylafax/patches/patch-ae b/comms/hylafax/patches/patch-ae index be07d3b222c..37350f3060e 100644 --- a/comms/hylafax/patches/patch-ae +++ b/comms/hylafax/patches/patch-ae @@ -1,7 +1,11 @@ -$NetBSD: patch-ae,v 1.18 2014/03/14 15:59:29 adam Exp $ +$NetBSD: patch-ae,v 1.19 2015/08/10 05:03:36 dholland Exp $ * Customize paths. * Configure for pkgsrc. +* LIBPORT needs to be specified with -L and -l (instead of the path to +the .a file) to match the other internal libraries. Otherwise the +wrappers reorder it relative to the other internal libraries and some +symbols aren't resolved at link time. --- configure.orig 2012-06-06 00:58:38.000000000 +0000 +++ configure @@ -160,6 +164,15 @@ $NetBSD: patch-ae,v 1.18 2014/03/14 15:59:29 adam Exp $ capture cat t.c runMake t "t:; \${CC} t.c ${MACHDEPLIBS}" } +@@ -3303,7 +3303,7 @@ else + Note "... emulate syslog&co." + PORTFUNCS="$PORTFUNCS syslog.c" + fi +-LIBPORT='${PORT}/libport.a' ++LIBPORT='-L${PORT} -lport' + + Note "Done checking system libraries." + @@ -3314,19 +3314,13 @@ Note "Checking ZLIB support." # cat>t.c<<EOF |