From 3707e5b7408ecadb0bda141dd82ec9bbca5d0267 Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 06:47:41 +0000 Subject: Implment WANT_GTK. --- audio/aumix/Makefile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'audio/aumix/Makefile') diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile index bba2065cf6f7..9a2df4de4299 100644 --- a/audio/aumix/Makefile +++ b/audio/aumix/Makefile @@ -16,29 +16,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= cpiazza@FreeBSD.org LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext -.if !defined(WITHOUT_X11) -LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 - -USE_X_PREFIX= yes -GTK_CONFIG= ${X11BASE}/bin/gtk12-config -.endif +WANT_GTK= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \ --enable-own-labels \ --libdir="${LOCALBASE}/lib" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LDFLAGS="-L${LOCALBASE}/lib" MAN1= aumix.1 xaumix.1 -.if defined(WITHOUT_X11) -CONFIGURE_ARGS+= --without-gtk +.include + +.if defined(HAVE_GTK) +USE_GTK= yes .else -pre-fetch: - @${ECHO_MSG} -n "To build this port without X11 (and without the GUI)," - @${ECHO_MSG} " define \"WITHOUT_X11\"." +CONFIGURE_ARGS+=--without-gtk .endif -.include +.include -- cgit v1.2.3