diff options
author | dholland <dholland@pkgsrc.org> | 2008-08-02 20:32:09 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-08-02 20:32:09 +0000 |
commit | 9d8c5ca5e4084dc954eac6ef4c12f61bd8ee6bc8 (patch) | |
tree | 2c12aafb208cc5e447d9ef05202f95bf13860a63 /chat/jabberd | |
parent | 4047fdd51b4e98fc675babdcf61d9931d2a73505 (diff) | |
download | pkgsrc-9d8c5ca5e4084dc954eac6ef4c12f61bd8ee6bc8.tar.gz |
Use -fPIC on NetBSD. (Same as FreeBSD.) Fixes broken amd64 build.
Diffstat (limited to 'chat/jabberd')
-rw-r--r-- | chat/jabberd/distinfo | 4 | ||||
-rw-r--r-- | chat/jabberd/patches/patch-aa | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/chat/jabberd/distinfo b/chat/jabberd/distinfo index 9cae761855d..90a3bc82b99 100644 --- a/chat/jabberd/distinfo +++ b/chat/jabberd/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2005/12/19 18:27:54 joerg Exp $ +$NetBSD: distinfo,v 1.6 2008/08/02 20:32:09 dholland Exp $ SHA1 (jabber-1.4.2.tar.gz) = aa0bc2e9815e4fa4a1ca8ba7f320bfd3c85ba11f RMD160 (jabber-1.4.2.tar.gz) = bff5a02d3b76243ce59ddb66873ca1c51ef4bb5f Size (jabber-1.4.2.tar.gz) = 690217 bytes -SHA1 (patch-aa) = 26ca7e04443789b78e916565772bbbfa02e72f6c +SHA1 (patch-aa) = d1fbf5a5533367ff689114c4d5e9099cfa308649 SHA1 (patch-ab) = 8722b0db3870e14eaf3e40f5493544db8a813fc1 SHA1 (patch-ac) = 3b17761c9ea2d1e17f3194ac8cf54fbca4c80367 SHA1 (patch-ad) = 0e8f2faa154e8c147b129aa3ca3cfd2dbaff1093 diff --git a/chat/jabberd/patches/patch-aa b/chat/jabberd/patches/patch-aa index 2690500f2ef..0d2d264f2db 100644 --- a/chat/jabberd/patches/patch-aa +++ b/chat/jabberd/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2005/12/19 18:27:55 joerg Exp $ +$NetBSD: patch-aa,v 1.4 2008/08/02 20:32:10 dholland Exp $ ---- configure.orig Mon Feb 11 20:14:06 2002 -+++ configure Sat Feb 14 01:59:47 2004 +--- configure.orig 2002-02-11 14:14:06.000000000 -0500 ++++ configure 2008-08-02 16:29:13.000000000 -0400 @@ -32,7 +32,8 @@ MCFLAGS="$MCFLAGS -shared" LDFLAGS="$LDFLAGS" LIBS="$LIBS" @@ -57,7 +57,7 @@ $NetBSD: patch-aa,v 1.3 2005/12/19 18:27:55 joerg Exp $ -@@ -123,7 +112,7 @@ case $hosttype in +@@ -123,10 +112,11 @@ case $hosttype in CFLAGS="$CFLAGS -fPIC -D_REENTRANT" SLIBS="$SLIBS /usr/lib/libresolv.a"; LIBS="$LIBS -ldl -lsocket -lnsl -lresolv";; @@ -66,3 +66,7 @@ $NetBSD: patch-aa,v 1.3 2005/12/19 18:27:55 joerg Exp $ CFLAGS="$CFLAGS -fPIC" XLDFLAGS="$XLDFLAGS -Wl,-E";; NetBSD) ++ CFLAGS="$CFLAGS -fPIC" + LIBS="$LIBS -lresolv" + SLIBS="$SLIBS /usr/lib/libresolv.a"; + XLDFLAGS="$XLDFLAGS -Wl,--export-dynamic";; |