summaryrefslogtreecommitdiff
path: root/news/aub
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-11-03 09:29:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-11-03 09:29:15 +0000
commitd181077f6b73aedc5c5ce3811a91df6e7b7672d2 (patch)
treea71d713542d207179f8ffa3fd51e9a85f23339c7 /news/aub
parentDo not print No search diagnostic if -q (diff)
Fix to work under perl5/fbsd3.0.
Notes
Notes: svn path=/head/; revision=14328
Diffstat (limited to 'news/aub')
-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>