aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2003-09-21 10:09:28 +0800
committerbland <bland@FreeBSD.org>2003-09-21 10:09:28 +0800
commit458b5aa24a842840a091d7ada7074df9f0a18c7f (patch)
tree4d562a805a38fe7aea59c9e01952c049d6b10e12 /games
parent1ec6b9c4535be2583383a6f1c83fa777697895cd (diff)
downloadfreebsd-ports-gnome-458b5aa24a842840a091d7ada7074df9f0a18c7f.tar.gz
freebsd-ports-gnome-458b5aa24a842840a091d7ada7074df9f0a18c7f.tar.zst
freebsd-ports-gnome-458b5aa24a842840a091d7ada7074df9f0a18c7f.zip
- Fix build converting port to use bsd.gnome.mk
- Add explicit USE_REINPLACE Reported by: kris
Diffstat (limited to 'games')
-rw-r--r--games/teg/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/games/teg/Makefile b/games/teg/Makefile
index 6ddacf25986d..176afabddd37 100644
--- a/games/teg/Makefile
+++ b/games/teg/Makefile
@@ -14,19 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A turn-based strategy game for GNOME
-LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
-
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack
+USE_GNOME= gnomeprefix gnomehack libgnomeui
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}"
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "*.[ch]" -type f | xargs ${REINPLACE_CMD} -e \
's|LIST_NEXT|TEG_LIST_NEXT|g'