diff options
author | agc <agc@pkgsrc.org> | 2007-08-30 23:05:14 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-08-30 23:05:14 +0000 |
commit | 16a91a9f7b6efdf7679ec476fbeb4d31bbb4a157 (patch) | |
tree | 94371ee5465a88ba0cee38050795b338dd2e55c9 /misc/libutf/patches | |
parent | 6fe3c0e623c63f5e423c26861f3b3e569a0d0801 (diff) | |
download | pkgsrc-16a91a9f7b6efdf7679ec476fbeb4d31bbb4a157.tar.gz |
Add DESTDIR support
Diffstat (limited to 'misc/libutf/patches')
-rw-r--r-- | misc/libutf/patches/patch-aa | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/misc/libutf/patches/patch-aa b/misc/libutf/patches/patch-aa index dabd53f5768..f26d304d6ec 100644 --- a/misc/libutf/patches/patch-aa +++ b/misc/libutf/patches/patch-aa @@ -1,10 +1,11 @@ -$NetBSD: patch-aa,v 1.3 2006/05/26 21:13:01 agc Exp $ +$NetBSD: patch-aa,v 1.4 2007/08/30 23:05:14 agc Exp $ Patches to use NetBSD's libtool and PKG_SYSCONFDIR. +DESTDIR patches too ---- Makefile.in.orig Mon Oct 20 14:51:34 1997 -+++ Makefile.in -@@ -9,6 +9,7 @@ LIBDIR= $(exec_prefix)/lib +--- Makefile.in.orig 2006-05-26 21:14:56.000000000 +0100 ++++ Makefile.in 2007-08-30 23:51:57.000000000 +0100 +@@ -9,6 +9,7 @@ INCDIR= $(prefix)/include MANDIR= $(prefix)/man ETCDIR= $(prefix)/etc @@ -12,7 +13,7 @@ Patches to use NetBSD's libtool and PKG_SYSCONFDIR. # SVR4, I hate you. What ****idiot**** dreamed this up???? # Yeah, like all csh or rc users need this crap... -@@ -26,31 +27,38 @@ INSTALL_DATA= @INSTALL_DATA@ +@@ -26,31 +27,38 @@ RANLIB= @RANLIB@ $(LIBS) : $(OBJS) @@ -25,14 +26,18 @@ Patches to use NetBSD's libtool and PKG_SYSCONFDIR. install: $(LIBS) - $(srcdir)/mkinstalldirs $(LIBDIR) $(INCDIR) $(ETCDIR) $(MANDIR)/man3 - $(INSTALL_DATA) $(LIBS) $(LIBDIR) ; $(RANLIB) $(LIBDIR)/$(LIBS) -+ $(srcdir)/mkinstalldirs $(LIBDIR) $(INCDIR) $(EGDIR) $(MANDIR)/man3 -+ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${LIBS:.a=.la} ${PREFIX}/lib - $(INSTALL_DATA) $(srcdir)/ure.h $(INCDIR) - $(INSTALL_DATA) $(srcdir)/utf.h $(INCDIR) +- $(INSTALL_DATA) $(srcdir)/ure.h $(INCDIR) +- $(INSTALL_DATA) $(srcdir)/utf.h $(INCDIR) - $(INSTALL_DATA) $(srcdir)/langcoll.utf $(ETCDIR) -+ $(INSTALL_DATA) $(srcdir)/langcoll.utf $(EGDIR) - $(INSTALL_DATA) $(srcdir)/utf.3 $(MANDIR)/man3 - $(INSTALL_DATA) $(srcdir)/ure.3 $(MANDIR)/man3 +- $(INSTALL_DATA) $(srcdir)/utf.3 $(MANDIR)/man3 +- $(INSTALL_DATA) $(srcdir)/ure.3 $(MANDIR)/man3 ++ $(srcdir)/mkinstalldirs ${DESTDIR}$(LIBDIR) ${DESTDIR}$(INCDIR) ${DESTDIR}$(EGDIR) ${DESTDIR}$(MANDIR)/man3 ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${LIBS:.a=.la} ${DESTDIR}${PREFIX}/lib ++ $(INSTALL_DATA) $(srcdir)/ure.h ${DESTDIR}$(INCDIR) ++ $(INSTALL_DATA) $(srcdir)/utf.h ${DESTDIR}$(INCDIR) ++ $(INSTALL_DATA) $(srcdir)/langcoll.utf ${DESTDIR}$(EGDIR) ++ $(INSTALL_DATA) $(srcdir)/utf.3 ${DESTDIR}$(MANDIR)/man3 ++ $(INSTALL_DATA) $(srcdir)/ure.3 ${DESTDIR}$(MANDIR)/man3 uninstall: rm -f $(LIBDIR)/libure.a |