From 18717a009a9df177a6dc0f2cd4a7482a69755a78 Mon Sep 17 00:00:00 2001 From: mich Date: Tue, 30 Aug 2005 12:04:06 +0000 Subject: o add WITHOUT_BACKGROUND_IMAGE knob [1] - so you can decide if you want another dep. or not o add without-afterstep-config to configure args [2] - workaround for x11-wm/afterstep-stable weirdness Submitted by: glewis[2], Paulius Bulotas [1] --- x11/aterm/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'x11/aterm') diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index 776969c616c7..fbfadbb377a6 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 -- cgit