diff options
author | marcus <marcus@FreeBSD.org> | 2003-10-16 18:47:54 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-10-16 18:47:54 +0000 |
commit | d822f0fd44baaa97913437a031c6cfb8ef12c8b9 (patch) | |
tree | 5c365f774db80b7dcc554c3d651ff39913b4f8c2 /www/galeon/Makefile | |
parent | 1b6b819cd772d5ca78ed5e0e293e2793661eece9 (diff) | |
download | FreeBSD-ports-d822f0fd44baaa97913437a031c6cfb8ef12c8b9.zip FreeBSD-ports-d822f0fd44baaa97913437a031c6cfb8ef12c8b9.tar.gz |
Remove any chance of linking galeon with -pthread. Instead, make sure
${PTHREAD_LIBS} is used.
Submitted by: sf
Diffstat (limited to 'www/galeon/Makefile')
-rw-r--r-- | www/galeon/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile index 67cca7d..08db12c 100644 --- a/www/galeon/Makefile +++ b/www/galeon/Makefile @@ -74,8 +74,9 @@ pre-everything:: @${ECHO_MSG} "" post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ - 's|-lpthread|${PTHREAD_LIBS}|g' + @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|' \ + -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \ + ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' @${MKDIR} ${WRKSRC}/src/libnautilus |