aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-03 17:29:15 +0800
committerobrien <obrien@FreeBSD.org>1998-11-03 17:29:15 +0800
commit4ea9bcc237413fcb5b70d1b3108d35c4611c17f8 (patch)
treeecb966f8920cbc431852e5b2497bcec472b10657 /news
parent6a68922960c17a03f4f8dcc7903d9a560b2288f4 (diff)
downloadfreebsd-ports-gnome-4ea9bcc237413fcb5b70d1b3108d35c4611c17f8.tar.gz
freebsd-ports-gnome-4ea9bcc237413fcb5b70d1b3108d35c4611c17f8.tar.zst
freebsd-ports-gnome-4ea9bcc237413fcb5b70d1b3108d35c4611c17f8.zip
Fix to work under perl5/fbsd3.0.
Diffstat (limited to 'news')
-rw-r--r--news/aub/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/news/aub/Makefile b/news/aub/Makefile
index 3d5a54735daf..997a7d4ecb0a 100644
--- a/news/aub/Makefile
+++ b/news/aub/Makefile
@@ -4,7 +4,7 @@
# Date created: Sun Oct 12, 1997
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
-# $Id: Makefile,v 1.2 1997/10/14 11:18:45 asami Exp $
+# $Id: Makefile,v 1.3 1997/10/18 06:11:16 obrien Exp $
#
DISTNAME= aub
@@ -25,21 +25,22 @@ MAN1= aub.1
do-extract:
@${MKDIR} ${WRKDIR}
-pre-configure:
+pre-patch:
@${SED} -e '1,1s:/usr/local/bin/perl:!/usr/bin/perl:' \
-e 's:$SUM = "/bin/sum":$SUM = "/usr/bin/sum":' \
-e 's:/usr/tmp:/var/tmp:' \
${DISTDIR}/${DIST_SUBDIR}/aub > ${WRKDIR}/aub
+.if !exists(/usr/bin/perl5)
+post-patch:
+ @cd ${WRKSRC} ; ${PATCH} -d ${WRKSRC} --reverse --quiet -E \
+ ${PATCH_STRIP} < ${PATCHDIR}/patch-01
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/aub ${PREFIX}/bin
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/aub.1 ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/doc/aub
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/BUG_FIXES ${PREFIX}/share/doc/aub
-#
-# There is a patch to aub to run with perl5.
-# You may find it in the files/ dir.
-#
-
.include <bsd.port.mk>