aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/gtkpool/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/gtkpool/Makefile b/games/gtkpool/Makefile
index 5fff2fa63007..c2bce5f177a5 100644
--- a/games/gtkpool/Makefile
+++ b/games/gtkpool/Makefile
@@ -11,15 +11,15 @@ PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://gtkpool.seul.org/
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A 2D pool game using the GTK+ toolkit
GNU_CONFIGURE= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
-MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -DHAVE_CONFIG_H -I. -I.. `gtk-config --cflags` `gtk-config --libs`"
post-patch:
+ @${REINPLACE_CMD} -e 's,-O2 -O0 -Wall `gtk-config --cflags` -lgtk -lgdk -lglib -lm -lX11,${CXXFLAGS} `gtk-config --cflags` `gtk-config --libs`,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,/usr/local/share/gtkpool,${DATADIR},' \
${WRKSRC}/gtkpool/application.cpp ${WRKSRC}/gtkpool/options.cpp