diff options
author | marcus <marcus@FreeBSD.org> | 2002-10-12 12:11:58 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-10-12 12:11:58 +0800 |
commit | 5c28451e3f6c8c2c513366b3c922f4389e1e2564 (patch) | |
tree | 2c0506f6f2c4019c9b5bc5818a54c45fdc6ccbce | |
parent | a7cdc5b2aa48db10e8749bbe21a3dbd0ec39580a (diff) | |
download | freebsd-ports-gnome-5c28451e3f6c8c2c513366b3c922f4389e1e2564.tar.gz freebsd-ports-gnome-5c28451e3f6c8c2c513366b3c922f4389e1e2564.tar.zst freebsd-ports-gnome-5c28451e3f6c8c2c513366b3c922f4389e1e2564.zip |
Make esound support optional.
PR: 43600
-rw-r--r-- | net-im/gaim/Makefile | 14 | ||||
-rw-r--r-- | net/gaim-snapshot/Makefile | 14 | ||||
-rw-r--r-- | net/gaim/Makefile | 14 |
3 files changed, 39 insertions, 3 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 diff --git a/net/gaim-snapshot/Makefile b/net/gaim-snapshot/Makefile index b092d1ec9aa0..5fb47908dde0 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 b092d1ec9aa0..5fb47908dde0 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 |