1
0
forked from ports/opt
opt/quilt/quilt.diff

41 lines
1.4 KiB
Diff
Raw Normal View History

2006-01-07 13:24:27 +00:00
diff -aur quilt-0.42.orig/Makefile.in quilt-0.42/Makefile.in
--- quilt-0.42.orig/Makefile.in 2005-07-22 19:06:32.000000000 +0200
2006-01-07 19:46:25 +00:00
+++ quilt-0.42/Makefile.in 2006-01-07 20:42:41.000000000 +0100
@@ -9,9 +9,9 @@
libdir := @libdir@
datadir := @datadir@
2006-01-07 13:24:27 +00:00
docdir := @docdir@
2006-01-07 19:46:25 +00:00
-mandir := $(datadir)/man
+mandir := $(prefix)/man
2006-01-07 13:24:27 +00:00
localedir := $(datadir)/locale
-etcdir := $(subst /usr/etc,/etc,$(prefix)/etc)
+etcdir := $(prefix)/etc
QUILT_DIR = $(datadir)/$(PACKAGE)
SCRIPTS_DIR = $(QUILT_DIR)/scripts
@@ -250,9 +250,10 @@
$(MAKE_NLS) -C po install BUILD_ROOT=$(BUILD_ROOT) \
LINGUAS="$(LINGUAS)" localedir=$(localedir)
+ @INSTALL@ -d $(BUILD_ROOT)$(libdir)
+ @INSTALL@ -d $(BUILD_ROOT)$(libdir)/bash-completion
+ @INSTALL@ -m 644 bash_completion $(BUILD_ROOT)$(libdir)/bash-completion/quilt
@INSTALL@ -d $(BUILD_ROOT)$(etcdir)
- @INSTALL@ -d $(BUILD_ROOT)$(etcdir)/bash_completion.d
- @INSTALL@ -m 644 bash_completion $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt
@INSTALL@ -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/
uninstall:
diff -aur quilt-0.42.orig/bin/quilt.in quilt-0.42/bin/quilt.in
--- quilt-0.42.orig/bin/quilt.in 2005-07-18 00:22:46.000000000 +0200
2006-01-07 19:46:25 +00:00
+++ quilt-0.42/bin/quilt.in 2006-01-07 20:42:26.000000000 +0100
2006-01-07 13:24:27 +00:00
@@ -11,7 +11,7 @@
if [ -z "$QUILTRC" ]
then
- for QUILTRC in $HOME/.quiltrc /etc/quilt.quiltrc; do
+ for QUILTRC in $HOME/.quiltrc /usr/etc/quilt.quiltrc; do
[ -e $QUILTRC ] && break
done
export QUILTRC