diff options
author | jlam <jlam> | 2004-04-26 08:01:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-04-26 08:01:20 +0000 |
commit | bf7627ec507db316b0c9a805121c80bbf2785c3c (patch) | |
tree | 7f5a547395dc26f6d26f90ed20c07be373a2a6e1 /devel/readline | |
parent | 46a4b67792de36c43a78134c41ef1dc5889b15ce (diff) | |
download | pkgsrc-bf7627ec507db316b0c9a805121c80bbf2785c3c.tar.gz |
Suppress the "inferring the mode of operation is deprecated" warning by
specifying the mode of operation when invoking libtool.
Diffstat (limited to 'devel/readline')
-rw-r--r-- | devel/readline/distinfo | 4 | ||||
-rw-r--r-- | devel/readline/patches/patch-ae | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/devel/readline/distinfo b/devel/readline/distinfo index 768be68c9fa..bfa8e355999 100644 --- a/devel/readline/distinfo +++ b/devel/readline/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2003/06/30 10:26:45 uebayasi Exp $ +$NetBSD: distinfo,v 1.7 2004/04/26 08:01:20 jlam Exp $ SHA1 (readline-4.3.tar.gz) = 4e226fd5f6f919707f11b9e28d47b5487448895d Size (readline-4.3.tar.gz) = 961662 bytes @@ -12,4 +12,4 @@ SHA1 (readline43-004) = 24bef0b7bda1cafd0475098ed7a01f45a58765e6 Size (readline43-004) = 3140 bytes SHA1 (readline43-005) = a022e113b8ad603d1020e99308de0a917626d1e1 Size (readline43-005) = 1056 bytes -SHA1 (patch-ae) = 1198bd554f1ee77397017ab4eee347f1ba50d515 +SHA1 (patch-ae) = af04c7e2646dbc510cfc139c025b47e6769ccd85 diff --git a/devel/readline/patches/patch-ae b/devel/readline/patches/patch-ae index 1073b8dfe5d..1053138561a 100644 --- a/devel/readline/patches/patch-ae +++ b/devel/readline/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $ +$NetBSD: patch-ae,v 1.9 2004/04/26 08:01:20 jlam Exp $ --- Makefile.in.orig Thu Jan 24 16:15:24 2002 +++ Makefile.in @@ -17,7 +17,7 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $ .c.o: ${RM} $@ - $(CC) -c $(CCFLAGS) $< -+ $(LIBTOOL) $(CC) -c $(CCFLAGS) $< ++ $(LIBTOOL) --mode=compile $(CC) -c $(CCFLAGS) $< # The name of the main library target. LIBRARY_NAME = libreadline.a @@ -40,8 +40,8 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $ -test -n "$(RANLIB)" && $(RANLIB) $@ +libreadline.la: $(OBJECTS) -+ ${LIBTOOL} ${RM} $@ -+ ${LIBTOOL} ${CC} -o $@ ${OBJECTS:.o=.lo} \ ++ ${LIBTOOL} --mode=uninstall ${RM} $@ ++ ${LIBTOOL} --mode=link ${CC} -o $@ ${OBJECTS:.o=.lo} \ + -rpath $(libdir) \ + -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR} + @@ -53,13 +53,13 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $ tilde.o: tilde.c rm -f $@ - $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c -+ $(LIBTOOL) $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c ++ $(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c -readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a - $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB} +libhistory.la: $(HISTOBJ) xmalloc.o -+ ${LIBTOOL} $(RM) $@ -+ ${LIBTOOL} ${CC} -o $@ ${HISTOBJ:.o=.lo} xmalloc.lo \ ++ ${LIBTOOL} --mode=uninstall $(RM) $@ ++ ${LIBTOOL} --mode=link ${CC} -o $@ ${HISTOBJ:.o=.lo} xmalloc.lo \ + -rpath $(libdir) \ + -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR} + @@ -70,8 +70,8 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $ $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static + +install-la: installdirs $(LIBTOOL_LIBS) install-headers -+ ${LIBTOOL} ${INSTALL_DATA} libreadline.la $(libdir) -+ ${LIBTOOL} ${INSTALL_DATA} libhistory.la $(libdir) ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} libreadline.la $(libdir) ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} libhistory.la $(libdir) + -( if test -d doc ; then \ + cd doc && \ + ${MAKE} ${MFLAGS} infodir=$(infodir) install; \ |