From 5e13b09cc2c90c99edfd6b3266c4e88f97ecc1b1 Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 10 Oct 2003 05:44:46 +0000 Subject: ploticus should not require X11 (patch included) Despite the WITHOUT_X11 setting, building ploticus requires X11. PR: ports/53266 Submitted by: awk --- math/ploticus/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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: -- cgit