From 618552a7d9fe969d18e472b923cdb8755ca65325 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 25 Feb 2007 13:24:12 +0000 Subject: - new option WITH_PORTAUDIO2 --- x11-toolkits/gnustep-gui/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'x11-toolkits/gnustep-gui') diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile index 2296a665ec7..a8f1dbb07a1 100644 --- a/x11-toolkits/gnustep-gui/Makefile +++ b/x11-toolkits/gnustep-gui/Makefile @@ -38,6 +38,7 @@ USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} USE_XLIB= yes EXTRA_PATCHES+= ${FILESDIR}/GNUmakefile.patch +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKE_FLAGS+= OPTFLAG="${CFLAGS}" BREAKS_IF_PEDANTIC= yes @@ -49,6 +50,13 @@ IGNORE= requires procfs mounted to build or run, for details see procfs(5) .endif .endif +.if defined(WITH_PORTAUDIO2) +LIB_DEPENDS+= portaudio:${PORTSDIR}/audio/portaudio2 +CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 ${PTHREAD_CFLAGS} +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib/portaudio2 ${PTHREAD_LIBS} +.endif + .if !defined(WITHOUT_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base PLIST_SUB+= WITH_CUPS="" -- cgit