diff options
author | jmmv <jmmv@pkgsrc.org> | 2002-12-23 08:03:02 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2002-12-23 08:03:02 +0000 |
commit | 7d670064e1f2cccf75b08cd5f9fe914d28d1e0de (patch) | |
tree | 34f62744384d98c7b60fae0a2528bc0d7445db74 /misc/libutf/patches | |
parent | 8db74f9c658d847f1bccb68cc162a375e572b45c (diff) | |
download | pkgsrc-7d670064e1f2cccf75b08cd5f9fe914d28d1e0de.tar.gz |
Make this package install its configuration file under the examples tree
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.
Diffstat (limited to 'misc/libutf/patches')
-rw-r--r-- | misc/libutf/patches/patch-aa | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/misc/libutf/patches/patch-aa b/misc/libutf/patches/patch-aa index a87968ec53b..53673d0c7b0 100644 --- a/misc/libutf/patches/patch-aa +++ b/misc/libutf/patches/patch-aa @@ -1,10 +1,18 @@ -$NetBSD: patch-aa,v 1.1 1998/09/09 15:01:09 agc Exp $ +$NetBSD: patch-aa,v 1.2 2002/12/23 08:03:04 jmmv Exp $ -Patches to use NetBSD's libtool +Patches to use NetBSD's libtool and PKG_SYSCONFDIR. ---- Makefile.in.orig Mon Oct 20 13:51:34 1997 -+++ Makefile.in Wed Sep 9 15:44:06 1998 -@@ -26,14 +26,14 @@ +--- Makefile.in.orig Mon Oct 20 14:51:34 1997 ++++ Makefile.in +@@ -9,6 +9,7 @@ LIBDIR= $(exec_prefix)/lib + INCDIR= $(prefix)/include + MANDIR= $(prefix)/man + ETCDIR= $(prefix)/etc ++EGDIR= $(prefix)/share/examples/libutf + + # 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@ RANLIB= @RANLIB@ $(LIBS) : $(OBJS) @@ -15,13 +23,22 @@ Patches to use NetBSD's libtool ci -l ure.c ure.h urelang.c utf.c utf.h install: $(LIBS) - $(srcdir)/mkinstalldirs $(LIBDIR) $(INCDIR) $(ETCDIR) $(MANDIR)/man3 +- $(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)/langcoll.utf $(ETCDIR) -@@ -47,10 +47,17 @@ +- $(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 + + uninstall: + rm -f $(LIBDIR)/libure.a + rm -f $(LIBDIR)/$(LIBS) +- rm -f $(ETCDIR)/langcoll.utf ++ rm -f $(EGDIR)/langcoll.utf rm -f $(INCDIR)/ure.h $(INCDIR)/urelang.h $(INCDIR)/utf.h gurep: gurep.o $(LIBS) |