summaryrefslogtreecommitdiff
path: root/security/PAM/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-02-08 22:01:31 +0000
committerdmcmahill <dmcmahill>2001-02-08 22:01:31 +0000
commitdeb1198ad6678a0d700116e5742b64fa72eca751 (patch)
treea49c7ff9e86e321fcd5a7042ab6ec1265b78490b /security/PAM/Makefile
parent80669ed59f5ec4221fdcc9e9a3d0df2b798160bb (diff)
downloadpkgsrc-deb1198ad6678a0d700116e5742b64fa72eca751.tar.gz
add missing ELF symlinks. fixes recently noted packaging problems
Diffstat (limited to 'security/PAM/Makefile')
-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"