summaryrefslogtreecommitdiff
path: root/devel/readline/patches
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-02 00:24:55 +0000
committerminskim <minskim>2006-03-02 00:24:55 +0000
commite28af3844121099abce59485544b3c705799c6d3 (patch)
tree291bee3b3c40877e27624e4e2869024c7307a846 /devel/readline/patches
parent6acf848697173792a30456143030d1590c2598ad (diff)
downloadpkgsrc-e28af3844121099abce59485544b3c705799c6d3.tar.gz
Link the readline library against the library that has the termcap
functions. This corrects dependency_libs defined in libreadline.la. Bump PKGREVISION.
Diffstat (limited to 'devel/readline/patches')
-rw-r--r--devel/readline/patches/patch-ae16
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/readline/patches/patch-ae b/devel/readline/patches/patch-ae
index 1604cc8bca5..d1abb898dcb 100644
--- a/devel/readline/patches/patch-ae
+++ b/devel/readline/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
+$NetBSD: patch-ae,v 1.12 2006/03/02 00:24:55 minskim Exp $
---- Makefile.in.orig 2004-04-22 16:44:37.000000000 -0400
+--- Makefile.in.orig 2005-05-08 01:11:23.000000000 +0000
+++ Makefile.in
@@ -18,6 +18,9 @@
RL_LIBRARY_VERSION = @LIBVERSION@
@@ -12,7 +12,7 @@ $NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
PACKAGE = @PACKAGE_NAME@
VERSION = @PACKAGE_VERSION@
-@@ -92,9 +95,15 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT
+@@ -94,9 +97,15 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT
${RM} $@
$(CC) -c $(CCFLAGS) $<
@@ -28,7 +28,7 @@ $NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
# The C code source files for this library.
CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
-@@ -143,6 +152,8 @@ INSTALL_TARGETS = @STATIC_INSTALL_TARGET
+@@ -145,6 +154,8 @@ INSTALL_TARGETS = @STATIC_INSTALL_TARGET
all: $(TARGETS)
@@ -37,14 +37,14 @@ $NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
everything: all examples
static: $(STATIC_LIBS)
-@@ -152,17 +163,31 @@ libreadline.a: $(OBJECTS)
+@@ -154,17 +165,31 @@ libreadline.a: $(OBJECTS)
$(AR) $(ARFLAGS) $@ $(OBJECTS)
-test -n "$(RANLIB)" && $(RANLIB) $@
+libreadline.la: $(OBJECTS:.o=.lo)
+ $(LIBTOOL) --mode=clean $(RM) $@
-+ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS:.o=.lo) \
-+ -rpath $(libdir) -version-info $(SHLIB_MAJOR):$(SHLIB_MINOR)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS:.o=.lo) $(TERMCAP_LIB) \
++ -rpath $(libdir) -version-info $(SHLIB_MAJOR):$(SHLIB_MINOR) \
+
libhistory.a: $(HISTOBJ) xmalloc.o
$(RM) $@
@@ -69,7 +69,7 @@ $NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
$(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}
-@@ -241,6 +266,12 @@ install-shared: installdirs install-head
+@@ -243,6 +268,12 @@ install-shared: installdirs install-head
uninstall-shared: maybe-uninstall-headers
-( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )