summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-07-07 14:39:16 +0000
committertron <tron@pkgsrc.org>2002-07-07 14:39:16 +0000
commitbc04de2e19f93078f10eef9119e3ba482cea9481 (patch)
treec56e33ac6e87068d42008cee93300ab6c2415fe1 /mail
parent03c65bd0659ad70ee11031dbb56b2119bd94efa3 (diff)
downloadpkgsrc-bc04de2e19f93078f10eef9119e3ba482cea9481.tar.gz
Define "USE_PERL" and patch path to Perl binary in a Perl scripts.
Problem noted by Greg A. Woods in PR pkg/16415.
Diffstat (limited to 'mail')
-rw-r--r--mail/faces/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index ba50f427418..c8f7c185934 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2002/07/07 14:25:52 tron Exp $
+# $NetBSD: Makefile,v 1.27 2002/07/07 14:39:16 tron Exp $
DISTNAME= faces-1.6.1
PKGREVISION= 2
@@ -31,7 +31,13 @@ MAKE_ENV+= CC=gcc
MAKE_ENV+= CPPFLAGS=
.endif
-do-configure:
+REPLACE_PERL= scripts/addxface scripts/deepen scripts/facesaddr \
+ scripts/facesall scripts/from.faces scripts/lpqall.faces \
+ scripts/mailq.faces scripts/mailqto scripts/mailqto.faces \
+ scripts/mkfacesindex scripts/newscheck.faces \
+ scripts/newsfrom.faces scripts/rotary.faces
+
+do-configure: replace-perl
${LN} -sf Makefile.dist ${WRKSRC}/${MAKEFILE}
cd ${WRKSRC}; \
files=" \
@@ -49,5 +55,6 @@ do-configure:
${MV} -f $${FILE}.fixed $${FILE}; \
done
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"