diff options
-rw-r--r-- | games/gtetrinet/Makefile | 7 |
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' |