summaryrefslogtreecommitdiff
path: root/devel/ncurses/patches/patch-ad
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-19 05:35:38 +0000
committerjlam <jlam@pkgsrc.org>2001-06-19 05:35:38 +0000
commit5ac3efc263e94c00862a2b90822cbe5ebf481563 (patch)
treedd6e96e43aa24d996ccbbef38e4fb950bc414a1e /devel/ncurses/patches/patch-ad
parent4e4de14e1c4e3a699ee977c5855281551f9973fc (diff)
downloadpkgsrc-5ac3efc263e94c00862a2b90822cbe5ebf481563.tar.gz
Remove explicit inclusion of -I$(includedir) into CPPFLAGS and -L$(libdir)
into LDFLAGS. This makes building of ncurses on a system already having ncurses installed possible. This is just another chapter of the continuing buildlink saga.
Diffstat (limited to 'devel/ncurses/patches/patch-ad')
-rw-r--r--devel/ncurses/patches/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/ncurses/patches/patch-ad b/devel/ncurses/patches/patch-ad
new file mode 100644
index 00000000000..b490171f073
--- /dev/null
+++ b/devel/ncurses/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.6 2001/06/19 05:35:39 jlam Exp $
+
+--- c++/Makefile.in.orig Sat Oct 14 20:43:38 2000
++++ c++/Makefile.in
+@@ -87,9 +87,9 @@
+ LIBNAME_NORMAL = @LIB_PREFIX@$(LIBROOT)@LIB_SUFFIX@.a
+ LIBNAME = @LIB_PREFIX@$(LIBROOT)@CXX_LIB_SUFFIX@
+
+-LINK_FLAGS = @EXTRA_LDFLAGS@ -L../lib -L$(libdir) -l$(LIBROOT)
++LINK_FLAGS = @EXTRA_LDFLAGS@ -L../lib -l$(LIBROOT)
+
+-LINK_LIBTOOL = @EXTRA_LDFLAGS@ -L../lib -L$(libdir) ../lib/$(LIBNAME)
++LINK_LIBTOOL = @EXTRA_LDFLAGS@ -L../lib ../lib/$(LIBNAME)
+ LINK_NORMAL = $(LINK_FLAGS)
+ LINK_DEBUG = $(LINK_FLAGS)
+ LINK_PROFILE = $(LINK_FLAGS)