summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-12 04:11:58 +0000
committermarcus <marcus@FreeBSD.org>2002-10-12 04:11:58 +0000
commit5c28451e3f6c8c2c513366b3c922f4389e1e2564 (patch)
tree2c0506f6f2c4019c9b5bc5818a54c45fdc6ccbce /net
parenta7cdc5b2aa48db10e8749bbe21a3dbd0ec39580a (diff)
downloadFreeBSD-ports-5c28451e3f6c8c2c513366b3c922f4389e1e2564.zip
FreeBSD-ports-5c28451e3f6c8c2c513366b3c922f4389e1e2564.tar.gz
Make esound support optional.
PR: 43600
Diffstat (limited to 'net')
-rw-r--r--net/gaim-snapshot/Makefile14
-rw-r--r--net/gaim/Makefile14
2 files changed, 26 insertions, 2 deletions
diff --git a/net/gaim-snapshot/Makefile b/net/gaim-snapshot/Makefile
index b092d1e..5fb4790 100644
--- a/net/gaim-snapshot/Makefile
+++ b/net/gaim-snapshot/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
diff --git a/net/gaim/Makefile b/net/gaim/Makefile
index b092d1e..5fb4790 100644
--- a/net/gaim/Makefile
+++ b/net/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
OpenPOWER on IntegriCloud