1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$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
|