aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-08-17 20:27:06 +0800
committertobik <tobik@FreeBSD.org>2018-08-17 20:27:06 +0800
commite686c9172897a7c4cd05de7c93d8d6a955660ac7 (patch)
treec0c9f936511d253a5bf2e2169a3bc08cc8f42af4 /games
parent562a0fd3eec419214f698de89bac596b86bf7a83 (diff)
downloadfreebsd-ports-gnome-e686c9172897a7c4cd05de7c93d8d6a955660ac7.tar.gz
freebsd-ports-gnome-e686c9172897a7c4cd05de7c93d8d6a955660ac7.tar.zst
freebsd-ports-gnome-e686c9172897a7c4cd05de7c93d8d6a955660ac7.zip
Remove esound support from games/gtetrinet
The installed themes have no sound files and all externally available themes on http://gtetrinet.sourceforge.net/themes.html are either gone or also do not have any sound files.
Diffstat (limited to 'games')
-rw-r--r--games/gtetrinet/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index 6dfba4207809..3934aa77c865 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gtetrinet
PORTVERSION= 0.7.11
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games gnome ipv6
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pathfix gettext gmake pkgconfig tar:bzip2
-USE_GNOME= esound gnomeprefix intltool libgnomeui
+USE_GNOME= gnomeprefix intltool libgnomeui
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -23,6 +23,9 @@ CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6
GCONF_SCHEMAS= gtetrinet.schemas
+post-patch:
+ @${REINPLACE_CMD} 's/pkg-config --exists esound/false/' ${WRKSRC}/configure
+
pre-configure:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]prefix[)]/games|{bindir}|g; /_DISABLE_DEPRECATED/d'