diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-08-09 20:44:32 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-08-09 20:44:32 +0000 |
commit | 514d2687901bb6c21fd4e396907688472b3ff30a (patch) | |
tree | 5bc5bff4649c933cc8c05fa23bc41b657dfa386e /audio/libcanberra/Makefile | |
parent | 57250968cbe7b7369146782713aab4138b578209 (diff) |
Notes
Diffstat (limited to 'audio/libcanberra/Makefile')
-rw-r--r-- | audio/libcanberra/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index c0edbb67cf38..9456c9e47101 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -7,7 +7,7 @@ PORTNAME= libcanberra PORTVERSION= 0.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/public/ @@ -23,16 +23,20 @@ USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -OPTIONS= PULSE "Enable Pulse Audio support" on +OPTIONS= PULSE "Enable Pulse Audio support" off .include <bsd.port.pre.mk> -.if defined(WITH_PULSE) +.if !defined(WITHOUT_PULSE) LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio -PLIST_SUB+= PULSE="" +PLIST_SUB+= PULSE="" OSS="@comment " +CONFIGURE_ARGS+=--disable-oss .else CONFIGURE_ARGS+=--disable-pulse -PLIST_SUB+= PULSE="@comment " +PLIST_SUB+= PULSE="@comment " OSS="" .endif +post-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} + .include <bsd.port.post.mk> |