pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/foomatic-filters Don't try and install the man p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/946c5368e7f7
branches:  trunk
changeset: 519801:946c5368e7f7
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Oct 10 00:27:30 2006 +0000

description:
Don't try and install the man page on solaris.  It is broken with
solaris nroff right now.  This lets this package build and package on
solaris.

diffstat:

 print/foomatic-filters/Makefile |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r c28b10136c72 -r 946c5368e7f7 print/foomatic-filters/Makefile
--- a/print/foomatic-filters/Makefile   Tue Oct 10 00:24:54 2006 +0000
+++ b/print/foomatic-filters/Makefile   Tue Oct 10 00:27:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/10/03 00:30:05 reed Exp $
+# $NetBSD: Makefile,v 1.16 2006/10/10 00:27:30 dmcmahill Exp $
 
 .include "Makefile.common"
 
@@ -12,7 +12,6 @@
 CONFLICTS+=    foomatic-gswrapper-[0-9]*
 
 USE_TOOLS+=    gmake gs:run perl:run
-INSTALL_TARGET=        install-bin install-man
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -28,6 +27,18 @@
 PKG_OPTIONS_VAR=       PKG_OPTIONS.foomatic
 PKG_SUPPORTED_OPTIONS= cups
 
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+=    MANINSTALL
+
+.if ${OPSYS} == "SunOS"
+# SunOS nroff has problems with foomatic-rip.1
+MANINSTALL=     none
+INSTALL_TARGET=        install-bin
+.else
+INSTALL_TARGET=        install-bin install-man
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mcups)



Home | Main Index | Thread Index | Old Index