openbsd-ports/biology/nutdb/patches/patch-Makefile
merdely 3d8057d2a8 Update to 15.7.
From Daniel Dickman.
ok jasper@
2010-08-18 03:00:40 +00:00

19 lines
589 B
Plaintext

$OpenBSD: patch-Makefile,v 1.8 2010/08/18 03:00:40 merdely Exp $
--- Makefile.orig Thu Jul 1 21:56:42 2010
+++ Makefile Thu Jul 15 14:14:29 2010
@@ -1,11 +1,11 @@
NUTDIR := \".nutdb\"
-FOODDIR := \"/usr/local/lib/nut\"
+FOODDIR := \"${PREFIX}/lib/nutdb\"
EXECUTABLE := nut
LIBS := -lm
-CFLAGS := -Wall -O2 -s -fno-inline -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
+CFLAGS := -Wall -fno-inline -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
-CXXFLAGS := -Wall -O2 -s
+CXXFLAGS := -Wall
SOURCE := $(wildcard *.c) $(wildcard *.cc)
OBJS := $(patsubst %.c,%.o,$(patsubst %.cc,%.o,$(SOURCE)))