diff options
Diffstat (limited to 'math/ploticus/Makefile')
-rw-r--r-- | math/ploticus/Makefile | 8 |
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: |