summaryrefslogtreecommitdiffstats
path: root/x11/aterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/aterm/Makefile')
-rw-r--r--x11/aterm/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile
index 776969c..fbfadbb 100644
--- a/x11/aterm/Makefile
+++ b/x11/aterm/Makefile
@@ -14,18 +14,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= A color vt102 terminal emulator with transparency support
-LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage
-
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
# `+=' is for slave ports
-CONFIGURE_ARGS+= \
- --enable-transparency --enable-background-image \
- --enable-fading --enable-utmp --enable-wtmp
+CONFIGURE_ARGS+= --enable-transparency \
+ --enable-fading --enable-utmp --enable-wtmp \
+ --without-afterstep-config
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_BACKGROUND_IMAGE)
+LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage
+CONFIGURE_ARGS+= --enable-background-image
+.endif
+
.if !defined(WITHOUT_PNG)
CONFIGURE_ARGS+= --with-png
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
OpenPOWER on IntegriCloud