diff options
-rw-r--r-- | security/PAM/Makefile | 10 |
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" |