aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/xforms
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1998-12-27 18:43:33 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1998-12-27 18:43:33 +0000
commit45d5180a9c989e2d9c0424436949143863b30484 (patch)
tree29aa994db2b907c25418fb79c05d5b734b399511 /x11-toolkits/xforms
parent49e93e39fa9a5209819039a8b4fac669f826d774 (diff)
downloadports-45d5180a9c989e2d9c0424436949143863b30484.tar.gz
ports-45d5180a9c989e2d9c0424436949143863b30484.zip
Notes
Diffstat (limited to 'x11-toolkits/xforms')
-rw-r--r--x11-toolkits/xforms/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile
index fff059208a4f..faa95fe5b0e0 100644
--- a/x11-toolkits/xforms/Makefile
+++ b/x11-toolkits/xforms/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 March 1997
# Whom: gena
#
-# $Id: Makefile,v 1.20 1998/11/02 04:35:07 jseger Exp $
+# $Id: Makefile,v 1.21 1998/11/11 05:37:39 asami Exp $
#
USE_X_PREFIX= yes
@@ -30,7 +30,21 @@ WRKSRC= ${WRKDIR}/xforms
MAN1= fdesign.1 fd2ps.1
MAN5= xforms.5
+# XXX: ask the author to include the right soname
+.if ${PORTOBJFORMAT} == "elf"
+.if !exists(/usr/bin/perl5)
+pre-fetch:
+ @${ECHO} "Need perl5 to patch soname"
+ @${FALSE}
+.endif
+.endif
+
post-install:
+# XXX: ask the author to include the right soname
+.if ${PORTOBJFORMAT} == "elf"
+ /usr/bin/perl5 -pe 's/libforms.so.0.88/libxforms.so.0\000\000/' < ${PREFIX}/lib/libxforms.so.0 > ${PREFIX}/lib/libxforms.so.0.tmp
+ ${MV} ${PREFIX}/lib/libxforms.so.0.tmp ${PREFIX}/lib/libxforms.so.0
+.endif
${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOMANCOMPRESS)
@${RM} ${PREFIX}/man/man5/forms.5