summaryrefslogtreecommitdiffstats
path: root/games/gnomegames
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
committersobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
commit6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch)
treec23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /games/gnomegames
parentfaa774bb672904227e681f88c16cfceef448ef6c (diff)
downloadFreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip
FreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz
-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
Diffstat (limited to 'games/gnomegames')
-rw-r--r--games/gnomegames/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnomegames/Makefile b/games/gnomegames/Makefile
index 83b8044..3fc21bb 100644
--- a/games/gnomegames/Makefile
+++ b/games/gnomegames/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${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 ; \
OpenPOWER on IntegriCloud