diff options
Diffstat (limited to 'audio/aumix/Makefile')
-rw-r--r-- | audio/aumix/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |