summaryrefslogtreecommitdiff
path: root/news/cnews/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/cnews/Makefile')
-rw-r--r--news/cnews/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 0b4685895791..930cb5ce0849 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -90,7 +90,9 @@ EXTRA_PATCHES+= ${FILESDIR}/sendmail.patch
.endif
pre-patch:
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} ${WRKSRC}/${PGPVERIFY}
+ ${SED} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \
+ ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} \
+ > ${WRKSRC}/${PGPVERIFY}
pre-configure:
.for i in conf/quiz.def conf/substitutions include/config.make