aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-30 00:35:19 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-30 00:35:19 +0800
commit6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch)
treec23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /emulators
parentfaa774bb672904227e681f88c16cfceef448ef6c (diff)
downloadfreebsd-ports-graphics-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz
freebsd-ports-graphics-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.zst
freebsd-ports-graphics-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip
-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 'emulators')
-rw-r--r--emulators/basiliskII/Makefile2
-rw-r--r--emulators/visualos/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/basiliskII/Makefile b/emulators/basiliskII/Makefile
index cf54299fad4..65aa10e3f7d 100644
--- a/emulators/basiliskII/Makefile
+++ b/emulators/basiliskII/Makefile
@@ -26,7 +26,7 @@ USE_GMAKE= yes
CONFIGURE_ARGS= --disable-fbdev-dga
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
-CFLAGS+= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
+CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include/pthread/linuxthreads
MAN1= BasiliskII.1
diff --git a/emulators/visualos/Makefile b/emulators/visualos/Makefile
index 471c72bf703..c9acf86439c 100644
--- a/emulators/visualos/Makefile
+++ b/emulators/visualos/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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 ; \