openbsd-ports/www/larbin/patches/patch-src_larbin_make
steven d845b027c5 - do not link statically against libadns
- pass CXX and CXXFLAGS via MAKE_ENV
- s/pre-patch/pre-configure/
2007-05-12 06:47:56 +00:00

21 lines
701 B
Plaintext

$OpenBSD: patch-src_larbin_make,v 1.2 2007/05/12 06:47:56 steven Exp $
--- src/larbin.make.orig Tue Jul 8 22:25:24 2003
+++ src/larbin.make Fri May 4 20:35:06 2007
@@ -1,4 +1,4 @@
-ADNSDIR=$(BASEDIR)/../adns
+ADNSDIR=${LOCALBASE}/include
LIBS:=
include $(BASEDIR)/../config.make
@@ -19,8 +19,8 @@ ABS-FETCH-OBJ:=fetch/site.o fetch/sequencer.o fetch/ha
fetch/checker.o fetch/file.o fetch/fetchOpen.o fetch/fetchPipe.o
ABS-MAIN-OBJ:=$(MAIN-OBJ)
-CFLAGS:=-O3 -Wall -D_REENTRANT
-CXXFLAGS:= -Wno-deprecated -Wall -O3 -D_REENTRANT -I- -I$(BASEDIR) -I$(ADNSDIR)
+CFLAGS+= -Wall -D_REENTRANT
+CXXFLAGS+= -Wno-deprecated -Wall -D_REENTRANT -I- -I$(BASEDIR) -I$(ADNSDIR)
RM:=rm -f
first: all