aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-10 13:44:46 +0800
committeredwin <edwin@FreeBSD.org>2003-10-10 13:44:46 +0800
commit5e13b09cc2c90c99edfd6b3266c4e88f97ecc1b1 (patch)
treed9fe3c957323af263159bf8ed22beab78efed9e4
parenta45e60cdb7476b5641d324418c517f69c49900f0 (diff)
downloadfreebsd-ports-gnome-5e13b09cc2c90c99edfd6b3266c4e88f97ecc1b1.tar.gz
freebsd-ports-gnome-5e13b09cc2c90c99edfd6b3266c4e88f97ecc1b1.tar.zst
freebsd-ports-gnome-5e13b09cc2c90c99edfd6b3266c4e88f97ecc1b1.zip
ploticus should not require X11 (patch included)
Despite the WITHOUT_X11 setting, building ploticus requires X11. PR: ports/53266 Submitted by: awk <awk@bronte.bnt.com>
-rw-r--r--math/ploticus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 17c8bbf7d00b..9d18d402b508 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -27,7 +27,6 @@ CONFLICTS= slffea-* swi-pl-*
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USE_XPM= yes
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
LOCALEOBJ="localef.o" LOCALE_FLAG="-DLOCALE" \
MING="-L${LOCALBASE}/lib -lming" \
@@ -39,6 +38,13 @@ MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
GDFREETYPE="-DGDFREETYPE" PREFABS_DIR="${DATADIR}"
ALL_TARGET= plgd18
+.ifdef WITHOUT_X11
+MAKE_ARGS+= NOXFLAG=-DNOX11 XLIBS= XOBJ=
+PKGNAMESUFFIX= -nox11
+.else
+USE_XPM= yes
+.endif
+
MAN1= pl.1
do-install: