summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-ab
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-16 07:46:57 +0000
committerjlam <jlam@pkgsrc.org>2004-11-16 07:46:57 +0000
commit96912dd94f138b77bc7b60d105fa28b06a3fc232 (patch)
treea66fff95b854bc51b090d95257e7cf782b651ae3 /security/PAM/patches/patch-ab
parent22584525a00c6a021a615046c5235f9ac487373c (diff)
downloadpkgsrc-96912dd94f138b77bc7b60d105fa28b06a3fc232.tar.gz
Libtoolize security/PAM so that the appropriate options are passed to
the compiler to build shared modules, and so that it builds correctly across different platforms. Bump the PKGREVISION. In particular, this should fix problems building this package on NetBSD/amd64.
Diffstat (limited to 'security/PAM/patches/patch-ab')
-rw-r--r--security/PAM/patches/patch-ab21
1 files changed, 1 insertions, 20 deletions
diff --git a/security/PAM/patches/patch-ab b/security/PAM/patches/patch-ab
index c622a83c854..3dca9947344 100644
--- a/security/PAM/patches/patch-ab
+++ b/security/PAM/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2002/12/23 21:23:58 jlam Exp $
+$NetBSD: patch-ab,v 1.4 2004/11/16 07:46:57 jlam Exp $
--- configure.in.orig Tue Jul 9 02:17:13 2002
+++ configure.in
@@ -34,22 +34,3 @@ $NetBSD: patch-ab,v 1.3 2002/12/23 21:23:58 jlam Exp $
/usr/local/lib /usr/local/share/lib"
DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
CRACKLIB_DICTPATH=""
-@@ -305,6 +312,18 @@ if test "$GCC" = yes; then
- case $OS in
- linux)
- OS_CFLAGS="-ansi -D_POSIX_SOURCE -pedantic"
-+ LD_D="gcc -shared -Xlinker -x"
-+ WARNINGS="$GCC_WARNINGS"
-+ PIC="-fPIC"
-+ DYNTYPE=so
-+ LD=ld
-+ LD_L="$LD -x -shared"
-+ RANLIB=ranlib
-+ STRIP=strip
-+ CC_STATIC="-Xlinker -export-dynamic"
-+ ;;
-+ netbsd)
-+ OS_CFLAGS=""
- LD_D="gcc -shared -Xlinker -x"
- WARNINGS="$GCC_WARNINGS"
- PIC="-fPIC"