summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-25 17:26:56 +0000
committerjperkin <jperkin>2014-09-25 17:26:56 +0000
commitaf4ef2a9f82c6b6f89493fefa0cb1387a89845fb (patch)
treee696f3035b534fc330d99ca648fb8e8fae2e2c6b
parent8c6fb8349bd6938676ef1c469c7a83c016eea71a (diff)
downloadpkgsrc-af4ef2a9f82c6b6f89493fefa0cb1387a89845fb.tar.gz
Force file from pkgsrc on SunOS, it needs stdin support.
-rw-r--r--print/foomatic4-db-engine/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/print/foomatic4-db-engine/Makefile b/print/foomatic4-db-engine/Makefile
index f214ed5088a..621e8e8aaa7 100644
--- a/print/foomatic4-db-engine/Makefile
+++ b/print/foomatic4-db-engine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2014/05/29 23:37:15 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2014/09/25 17:26:56 jperkin Exp $
#
DISTNAME= foomatic-db-engine-4.0.8
@@ -18,12 +18,18 @@ CONFIGURE_ENV+= FOOMATIC_RIP=${LOCALBASE}/bin/foomatic-rip
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
CONFIGURE_ENV+= CUPS_ETC=${PKG_SYSCONFBASE}/cups
CONFIGURE_ENV+= PERL_INSTALLDIRS=vendor
-USE_TOOLS+= perl gmake
+USE_TOOLS+= file perl gmake
PERL5_PACKLIST= auto/Foomatic/.packlist
PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= lib
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+TOOLS_PLATFORM.file= # doesn't support -
+.endif
+
# XXX generated but needs to be present before perl5-configure
post-extract:
${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm