diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
commit | 4ca0e60800b90ba4a6de31beabeee8ccce611649 (patch) | |
tree | 8324ab31f68eba587c532d238cd3f502d0a56322 /emulators | |
parent | Update to version 2.28 (diff) |
-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.
Notes
Notes:
svn path=/head/; revision=40539
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/basiliskII/Makefile | 2 | ||||
-rw-r--r-- | emulators/visualos/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/basiliskII/Makefile b/emulators/basiliskII/Makefile index cf54299fad41..65aa10e3f7d6 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 471c72bf703e..c9acf86439cc 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 ; \ |