aboutsummaryrefslogtreecommitdiff
path: root/print/libspectre
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-04-04 17:22:04 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-04-04 17:22:04 +0000
commit6869fa842d2c6e96bad44cd348fb38794479292c (patch)
tree7e0ccbd222d517d2cff519da3324123d6568da8b /print/libspectre
parent3eb6476da383493b6df4b381cb93c947c2f868c2 (diff)
downloadports-6869fa842d2c6e96bad44cd348fb38794479292c.tar.gz
ports-6869fa842d2c6e96bad44cd348fb38794479292c.zip
Notes
Diffstat (limited to 'print/libspectre')
-rw-r--r--print/libspectre/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile
index 088dbfddf853..8e674da7dd2f 100644
--- a/print/libspectre/Makefile
+++ b/print/libspectre/Makefile
@@ -21,4 +21,12 @@ USE_GNOME= gnomehack gnomeprefix ltverhack
USE_GHOSTSCRIPT=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+pre-configure:
+ @if [ -n "`${PKG_INFO} -xI '^ghostscript-gnu-[0-9]*'`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: ghostscript-gnu installed, please deinstall ghostscript-gnu"; \
+ ${ECHO_CMD} "and use ghostscript-gpl. Make sure you don't have WITH_GHOSTSCRIPT_GNU"; \
+ ${ECHO_CMD} "or GHOSTSCRIPT_PORT defined."; \
+ ${FALSE}; \
+ fi
+
.include <bsd.port.mk>