summaryrefslogtreecommitdiff
path: root/devel/rx/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rx/patches/patch-ab')
-rw-r--r--devel/rx/patches/patch-ab12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/rx/patches/patch-ab b/devel/rx/patches/patch-ab
index e546e117680..0d57d05103d 100644
--- a/devel/rx/patches/patch-ab
+++ b/devel/rx/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2002/04/16 13:55:30 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2008/04/04 15:24:56 joerg Exp $
--- rx/Makefile.in.orig Fri Nov 22 13:47:49 1996
+++ rx/Makefile.in
@@ -13,13 +13,15 @@ $NetBSD: patch-ab,v 1.2 2002/04/16 13:55:30 wiz Exp $
+all: librx.la
install: all
- test -d $(libdir) || mkdir $(libdir)
- test -d $(includedir) || mkdir $(includedir)
+- test -d $(libdir) || mkdir $(libdir)
+- test -d $(includedir) || mkdir $(includedir)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(libdir)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(includedir)
- $(INSTALL) librx.a $(libdir)/librx.a
- $(RANLIB) $(libdir)/librx.a
- $(INSTALL) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
-+ $(LIBTOOL) $(INSTALL) librx.la $(libdir)
-+ $(BSD_INSTALL_DATA) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
++ $(LIBTOOL) $(BSD_INSTALL_LIB) librx.la ${DESTDIR}$(libdir)
++ $(BSD_INSTALL_DATA) $(srcdir)/inst-rxposix.h ${DESTDIR}$(includedir)/rxposix.h
uninstall: