summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorschmonz <schmonz>2014-10-17 13:14:01 +0000
committerschmonz <schmonz>2014-10-17 13:14:01 +0000
commit1376193bab9418b07ce16b6a2a27edcdc2520c96 (patch)
tree97ac956c4bdf56c68f6abada3147c2f6b1202e89 /www
parent564ff129599cc7ffe77bf5417c8c61ba06e0add0 (diff)
downloadpkgsrc-1376193bab9418b07ce16b6a2a27edcdc2520c96.tar.gz
Noticed on NetBSD:
- Upstream's perl-shebang replacement missed one due to a space (fixed upstream). check-interpreter hadn't told me on OS X because "/usr/bin/perl" does exist there. - gmake seems to choose a build order where the perl-shebang replacement doesn't happen early enough, breaking the build. Force the needed ordering.
Diffstat (limited to 'www')
-rw-r--r--www/ikiwiki/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 13598e4c4ed..3bf63ad951e 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.127 2014/10/17 11:50:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.128 2014/10/17 13:14:01 schmonz Exp $
#
DISTNAME= ikiwiki_3.20141016
@@ -35,10 +35,13 @@ PERL5_PACKLIST= auto/IkiWiki/.packlist
USE_LANGUAGES= c
USE_TOOLS+= gmake msgfmt perl:run xgettext
+REPLACE_PERL+= IkiWiki/Plugin/calendar.pm
# find . -type f -print | \
# perl -ne 'open(F, "<$_"); $l=<F>; print if $l =~ m|^#!/usr/bin/perl|'
REPLACE_PYTHON+= plugins/proxy.py plugins/pythondemo plugins/rst
+BUILD_TARGET= extra_build all
+
MAKE_FLAGS+= W3M_CGI_BIN=${PREFIX:Q}/libexec/w3m/cgi-bin
MAKE_FLAGS+= SYSCONFDIR=${PKG_SYSCONFDIR:Q}
MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}