1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- new option WITH_PORTAUDIO2

This commit is contained in:
Dirk Meyer 2007-02-25 13:24:12 +00:00
parent e0074eaf49
commit d23fe039b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185875

View File

@ -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=""