summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/ayttm/Makefile4
-rw-r--r--net/ayttm/Makefile4
-rw-r--r--net/everybuddy/Makefile4
3 files changed, 9 insertions, 3 deletions
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index c08f25690ee7..11bdbad5df59 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -17,10 +17,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN1= everybuddy.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/net/ayttm/Makefile b/net/ayttm/Makefile
index c08f25690ee7..11bdbad5df59 100644
--- a/net/ayttm/Makefile
+++ b/net/ayttm/Makefile
@@ -17,10 +17,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN1= everybuddy.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/net/everybuddy/Makefile b/net/everybuddy/Makefile
index c08f25690ee7..11bdbad5df59 100644
--- a/net/everybuddy/Makefile
+++ b/net/everybuddy/Makefile
@@ -17,10 +17,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN1= everybuddy.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
.include <bsd.port.mk>