summaryrefslogtreecommitdiff
path: root/x11-wm/sawfish2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-26 16:04:01 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-26 16:04:01 +0000
commit69298fa0d91acc3f2c94599e830bcd20cf415100 (patch)
tree6439bba3dce5ddd4a4333d63d798f7cfaaef709f /x11-wm/sawfish2
parentUpdate IPv6 patch to 20030426. (diff)
Make esound support permanent since esound must be installed to install
the rep-gtk2 dependency. Not having esound permanent was messing up the package builds. Reported by: bento
Notes
Notes: svn path=/head/; revision=79675
Diffstat (limited to 'x11-wm/sawfish2')
-rw-r--r--x11-wm/sawfish2/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/x11-wm/sawfish2/Makefile b/x11-wm/sawfish2/Makefile
index 36254924947f..12ae1d267c3a 100644
--- a/x11-wm/sawfish2/Makefile
+++ b/x11-wm/sawfish2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sawfish2
PORTVERSION= 1.3
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
@@ -29,7 +30,7 @@ PLIST_SUB= GNUHOST=${GNUHOST} VERSION=${PORTVERSION}
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehier gnomehack
+USE_GNOME= gnomehier gnomehack esound
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline \
@@ -39,18 +40,9 @@ CONFIGURE_ARGS= --with-readline \
--disable-themer
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-esd
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
-.include <bsd.port.pre.mk>
-
-.if ${HAVE_GNOME:Mesound}!=""
-USE_GNOME+= esound
-PKGNAMESUFFIX= -esound
-CONFIGURE_ARGS+= --with-esd
-.else
-CONFIGURE_ARGS+= --without-esd
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
@@ -62,4 +54,4 @@ post-install:
--entry="* sawfish: (sawfish). sawfish programming manual" \
${PREFIX}/info/sawfish.info ${PREFIX}/info/dir
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>