openbsd-ports/www/larbin/patches/patch-src_Makefile
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

13 lines
582 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.2 2007/05/12 06:47:56 steven Exp $
--- src/Makefile.orig Sat Apr 28 11:02:16 2007
+++ src/Makefile Sat Apr 28 11:03:17 2007
@@ -17,7 +17,7 @@ clean distclean dep prof debug: options.h config.h
larbin: $(ABS-UTILS-OBJ) $(ABS-FETCH-OBJ) $(ABS-INTERF-OBJ) $(ABS-MAIN-OBJ)
$(CXX) $(MF) $(LIBS) -o larbin $(ABS-UTILS-OBJ) \
- $(ABS-FETCH-OBJ) $(ABS-INTERF-OBJ) $(ABS-MAIN-OBJ) ../adns/libadns.a
+ $(ABS-FETCH-OBJ) $(ABS-INTERF-OBJ) $(ABS-MAIN-OBJ) -L${LOCALBASE}/lib -ladns
dep-here:
makedepend -f- -I$(BASEDIR) -Y *.cc 2> /dev/null > .depend