summaryrefslogtreecommitdiff
path: root/security/PAM
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-02-08 22:01:31 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-02-08 22:01:31 +0000
commit2f64fd63628855a8fef434542e9aff68ef67c385 (patch)
treea49c7ff9e86e321fcd5a7042ab6ec1265b78490b /security/PAM
parent63c2cf82f22719519363f6c0558ea20780a65088 (diff)
downloadpkgsrc-2f64fd63628855a8fef434542e9aff68ef67c385.tar.gz
add missing ELF symlinks. fixes recently noted packaging problems
Diffstat (limited to 'security/PAM')
-rw-r--r--security/PAM/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile
index ee755f20406..c5c3f6c4dc7 100644
--- a/security/PAM/Makefile
+++ b/security/PAM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/11/28 13:39:17 rh Exp $
+# $NetBSD: Makefile,v 1.3 2001/02/08 22:01:31 dmcmahill Exp $
#
DISTNAME= Linux-${PKGNAME}
@@ -41,6 +41,9 @@ do-configure:
fi ; \
done
+# for OBJECT_FMT
+.include "../../mk/bsd.prefs.mk"
+
post-install:
for doc in ${WRKSRC}/doc/man/*.3 ; do \
${INSTALL_MAN} $$doc ${PREFIX}/man/man3 ; \
@@ -62,5 +65,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/pam_${doc}.sgml \
${PREFIX}/share/doc/PAM/sgml
.endfor
+.if (${OBJECT_FMT} == "ELF")
+ ${LN} -fs ${PREFIX}/lib/libpam.so.0.72 ${PREFIX}/lib/libpam.so.0
+ ${LN} -fs ${PREFIX}/lib/libpam_misc.so.0.72 ${PREFIX}/lib/libpam_misc.so.0
+ ${LN} -fs ${PREFIX}/lib/libpamc.so.0.72 ${PREFIX}/lib/libpamc.so.0
+.endif
.include "../../mk/bsd.pkg.mk"