summaryrefslogtreecommitdiff
path: root/net/gnomba/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-21 18:11:08 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-21 18:11:08 +0000
commitaf6e00dfce4f04de673c75b46f578204272e516d (patch)
treea81cd1b1e9718d29b4a3358995bbb117be0c53a3 /net/gnomba/Makefile
parentUpdate to 3.2.1 and unbreak. (diff)
Fix make package after recent GNOMENG conversion.
Submitted by: bento
Diffstat (limited to '')
-rw-r--r--net/gnomba/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/gnomba/Makefile b/net/gnomba/Makefile
index 3a57e8f17d25..df4ead238077 100644
--- a/net/gnomba/Makefile
+++ b/net/gnomba/Makefile
@@ -15,19 +15,16 @@ MAINTAINER= demon@FreeBSD.org
USE_GMAKE= yes
USE_GNOMENG= yes
-USE_GNOME= gnomelibs
+USE_GNOME= gnomeprefix gnomehack gnomelibs
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gnomba.1
-pre-patch:
+post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
pre-configure:
${RM} ${WRKSRC}/config.cache