pkgsrc/sysutils/dvd+rw-tools/patches/patch-ab
wiz c25efdc763 Update to 7.0:
This release adds Blu-ray Disc support and Mac OS X 10>=2 support.
2007-06-08 08:07:04 +00:00

21 lines
750 B
Text

$NetBSD: patch-ab,v 1.6 2007/06/08 08:07:05 wiz Exp $
--- Makefile.m4.orig 2006-09-24 17:55:19.000000000 +0000
+++ Makefile.m4
@@ -14,6 +14,7 @@ ifelse(substr(OS,0,7),[MINGW32],[define(
ifelse(OS,NetBSD,[define([OS],[BSD])CXXFLAGS+=-D__unix])
ifelse(OS,OpenBSD,[define([OS],[BSD])])
ifelse(OS,FreeBSD,[define([OS],[BSD])LDLIBS=-lcam])
+ifelse(OS,DragonFly,[define([OS],[BSD])LDLIBS=-lcam])
ifelse(OS,IRIX64,[define([OS],[IRIX])])
ifelse(OS,Darwin,[
@@ -52,7 +53,7 @@ ifelse(OS,BSD,[
CC ?=gcc
CFLAGS +=$(WARN) -O2 -pthread -D_THREAD_SAFE -D_REENTRANT
CXX ?=g++
-CXXFLAGS+=$(WARN) -O2 -fno-exceptions -pthread -D_THREAS_SAFE -D_REENTRANT
+CXXFLAGS+=$(WARN) -O2 -fno-exceptions -pthread -D_THREAD_SAFE -D_REENTRANT
.SUFFIXES: .c .cpp .o