summaryrefslogtreecommitdiff
path: root/mail/faces
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-02-03 01:52:19 +0000
committerdmcmahill <dmcmahill>2001-02-03 01:52:19 +0000
commitae0fbad2a0e43563190db054ef3ea862224ac958 (patch)
tree2a1520424d7c6fb7760c0a89a2f80b4976aaf647 /mail/faces
parent7ed403a4b34574311e43b1d018c4744debf06632 (diff)
downloadpkgsrc-ae0fbad2a0e43563190db054ef3ea862224ac958.tar.gz
create missing ELF shared lib links
Diffstat (limited to 'mail/faces')
-rw-r--r--mail/faces/Makefile11
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=