diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 01:52:19 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-03 01:52:19 +0000 |
commit | ac571cdc1e29085ab3baf299bb0ff0bf93b6ea49 (patch) | |
tree | 2a1520424d7c6fb7760c0a89a2f80b4976aaf647 | |
parent | 1127963d9465fb628daa69efb966e513813ccbfc (diff) | |
download | pkgsrc-ac571cdc1e29085ab3baf299bb0ff0bf93b6ea49.tar.gz |
create missing ELF shared lib links
-rw-r--r-- | mail/faces/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile index 3f60aa99c9d..974834bb68b 100644 --- a/mail/faces/Makefile +++ b/mail/faces/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2000/09/04 11:29:35 tron Exp $ +# $NetBSD: Makefile,v 1.18 2001/02/03 01:52:19 dmcmahill Exp $ # FreeBSD Id: Makefile,v 1.5 1997/11/17 18:47:53 max Exp # @@ -26,6 +26,9 @@ post-configure: -e 's|@x11base@|'${X11BASE}'|g' < $$f.in > $$f; \ done +# for OBJECT_FMT and OPSYS +.include "../../mk/bsd.prefs.mk" + PLIST_SRC= ${WRKDIR}/.PLIST-src post-install: @@ -33,8 +36,10 @@ post-install: ${LN} -f ${PREFIX}/man/man3/compface.3 ${PREFIX}/man/man3/uncompface.3 @${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \ -e 's|@x11prefix@|'${X11PREFIX}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC} - -.include "../../mk/bsd.prefs.mk" +.if (${OBJECT_FMT} == "ELF") + ${LN} -fs ${LOCALBASE}/lib/libcompface.so.1.0 ${LOCALBASE}/lib/libcompface.so.1 + ${LN} -fs ${LOCALBASE}/lib/libcompface.so.1.0 ${LOCALBASE}/lib/libcompface.so +.endif .if ${OPSYS} == "SunOS" MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen" SYSV=-DSYSV32 CC=gcc CPPFLAGS= |