aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dvd+rw-tools/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile
index a8cc87f61639..f83eeb8d3d90 100644
--- a/sysutils/dvd+rw-tools/Makefile
+++ b/sysutils/dvd+rw-tools/Makefile
@@ -6,7 +6,7 @@
PORTNAME= dvd+rw-tools
PORTVERSION= 6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.franksworld.org/dist/dvd+rw/ \
http://www.pkix.net/mirror/fy.chalmers.se/ \
@@ -26,7 +26,12 @@ PLIST_FILES= ${BIN_FILES:S|^|bin/|}
PORTDOCS= index.html
post-patch:
- ${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4
+ ${REINPLACE_CMD} -E \
+ -e 's/-D_THREAS_SAFE/-D_THREAD_SAFE/' \
+ -e 's/-D_THREAD_SAFE/-D_THREAD_SAFE ${PTHREAD_CFLAGS}/' \
+ -e 's/-pthread/${PTHREAD_LIBS}/' \
+ -e 's/-O2//' \
+ ${WRKSRC}/Makefile.m4
do-install:
.for i in ${BIN_FILES}