Thu Aug 15 14:32:40 2013 UTC ()
Use GNU find on SunOS at install time, so that "find -maxdepth" and
"find -regex" can work.


(schmonz)
diff -r1.111 -r1.112 pkgsrc/www/ikiwiki/Makefile

cvs diff -r1.111 -r1.112 pkgsrc/www/ikiwiki/Makefile (expand / switch to unified diff)

--- pkgsrc/www/ikiwiki/Makefile 2013/07/11 11:55:47 1.111
+++ pkgsrc/www/ikiwiki/Makefile 2013/08/15 14:32:40 1.112
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.111 2013/07/11 11:55:47 schmonz Exp $ 1# $NetBSD: Makefile,v 1.112 2013/08/15 14:32:40 schmonz Exp $
2# 2#
3 3
4DISTNAME= ikiwiki_3.20130711 4DISTNAME= ikiwiki_3.20130711
5PKGNAME= ${DISTNAME:S/_/-/} 5PKGNAME= ${DISTNAME:S/_/-/}
6CATEGORIES= www textproc 6CATEGORIES= www textproc
7MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/} 7MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/}
8 8
9MAINTAINER= schmonz@NetBSD.org 9MAINTAINER= schmonz@NetBSD.org
10HOMEPAGE= http://ikiwiki.info/ 10HOMEPAGE= http://ikiwiki.info/
11COMMENT= Wiki compiler 11COMMENT= Wiki compiler
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14DEPENDS+= p5-Text-Markdown-Discount-[0-9]*:../../textproc/p5-Text-Markdown-Discount 14DEPENDS+= p5-Text-Markdown-Discount-[0-9]*:../../textproc/p5-Text-Markdown-Discount
@@ -57,16 +57,22 @@ EGDIR= ${PREFIX}/share/examples/${PKGB @@ -57,16 +57,22 @@ EGDIR= ${PREFIX}/share/examples/${PKGB
57.for f in auto.setup auto-blog.setup wikilist 57.for f in auto.setup auto-blog.setup wikilist
58CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} 58CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
59.endfor 59.endfor
60 60
61#SPECIAL_PERMS+= ${PREFIX}/bin/ikiwiki-update-wikilist ... 61#SPECIAL_PERMS+= ${PREFIX}/bin/ikiwiki-update-wikilist ...
62 62
63TEST_TARGET= test 63TEST_TARGET= test
64 64
65.include "options.mk" 65.include "options.mk"
66 66
67pre-configure: 67pre-configure:
68 find ${WRKSRC} -type f -name '*.orig' -print | xargs rm -f 68 find ${WRKSRC} -type f -name '*.orig' -print | xargs rm -f
69 69
 70.include "../../mk/bsd.prefs.mk"
 71
 72.if ${OPSYS} == "SunOS"
 73TOOLS_PLATFORM.find= # empty, to force GNU find from pkgsrc findutils
 74.endif
 75
70.include "../../lang/perl5/module.mk" 76.include "../../lang/perl5/module.mk"
71.include "../../lang/python/application.mk" 77.include "../../lang/python/application.mk"
72.include "../../mk/bsd.pkg.mk" 78.include "../../mk/bsd.pkg.mk"