ports/92315: [patch:fix] sysutils/dvd+rw-tools : thread problems: build typo and hard coded build options
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Wed Jan 25 15:10:18 UTC 2006
>Number: 92315
>Category: ports
>Synopsis: [patch:fix] sysutils/dvd+rw-tools : thread problems: build typo and hard coded build options
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 25 15:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Mario Sergio Fujikawa Ferreira
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD exxodus.home.here 6.0-STABLE FreeBSD 6.0-STABLE #8: Fri Jan 20 02:20:43 BRST 2006 lioux at exxodus:/usr/obj-6.x/usr/src-6.x/sys/LIOUX i386
>Description:
o dvd+rw-tools Makefile uses an incorrect compile time macro due
to a typo. It should be using -D_THREAD_SAFE instead of -DTHREAS_SAFE
o Futhermore, make sure the port upholds PTHREAD_{CFLAGS,LIBS}
o Bump PORTREVISION to make users update
>How-To-Repeat:
>Fix:
--- patch-Makefile begins here ---
--- Makefile.orig Wed Jan 25 09:44:41 2006
+++ Makefile Wed Jan 25 12:55:27 2006
@@ -6,7 +6,7 @@
PORTNAME= dvd+rw-tools
PORTVERSION= 6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
@@ -25,7 +25,12 @@
PORTDOCS= index.html
post-patch:
- ${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4
+ ${REINPLACE_CMD} \
+ -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}
--- patch-Makefile ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list