pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/foomatic4-db-engine Force file from pkgsrc on Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/928f9796aa2d
branches:  trunk
changeset: 639799:928f9796aa2d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 25 17:26:56 2014 +0000

description:
Force file from pkgsrc on SunOS, it needs stdin support.

diffstat:

 print/foomatic4-db-engine/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 676f1c379d22 -r 928f9796aa2d print/foomatic4-db-engine/Makefile
--- a/print/foomatic4-db-engine/Makefile        Thu Sep 25 16:32:03 2014 +0000
+++ b/print/foomatic4-db-engine/Makefile        Thu Sep 25 17:26:56 2014 +0000
@@ -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+=        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



Home | Main Index | Thread Index | Old Index