summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-12 04:11:58 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-12 04:11:58 +0000
commit8ff4abdfccedd6b6955e096aab451f0e759ca1cd (patch)
tree7f91f885e19faca8fe092700019fe56a73db9c35 /net-im
parentUpdate to dumpasn1-20021007 (diff)
Make esound support optional.
PR: 43600
Notes
Notes: svn path=/head/; revision=67841
Diffstat (limited to 'net-im')
-rw-r--r--net-im/gaim/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile
index b092d1ec9aa0..5fb47908dde0 100644
--- a/net-im/gaim/Makefile
+++ b/net-im/gaim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.59.4
+PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,7 +19,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
-USE_GNOME= gnomeprefix gnomehack gtk12 esound
+USE_GNOME= gnomeprefix gnomehack gtk12
WANT_GNOME= yes
USE_PERL5= yes
USE_LIBTOOL= yes
@@ -46,6 +47,17 @@ PKGNAMESUFFIX= -gnome
CONFIGURE_ARGS+= --disable-gnome
.endif
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+= esound
+.if defined(PKGNAMESUFFIX)
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound
+.else
+PKGNAMESUFFIX= -esound
+.endif
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure