summaryrefslogtreecommitdiff
path: root/graphics/imlib/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-11-26 12:32:20 +0000
committerjmmv <jmmv@pkgsrc.org>2002-11-26 12:32:20 +0000
commit67318997cd125db344af54b12bbb9ee2436a85ff (patch)
tree6d2aa2cc88b793dfbc5bc81e245ebc3573a669c9 /graphics/imlib/patches
parent9011252b1a5f19f8c959371262c1aa1cb9cde05e (diff)
downloadpkgsrc-67318997cd125db344af54b12bbb9ee2436a85ff.tar.gz
Make this package install its configuration files in the examples directory
and use PKG_SYSCONFDIR stuff to copy them to the right place. Bump PKGREVISION to 2. Approved by wiz. This closes my own PR 18998.
Diffstat (limited to 'graphics/imlib/patches')
-rw-r--r--graphics/imlib/patches/patch-ah23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/imlib/patches/patch-ah b/graphics/imlib/patches/patch-ah
new file mode 100644
index 00000000000..bf1841071ef
--- /dev/null
+++ b/graphics/imlib/patches/patch-ah
@@ -0,0 +1,23 @@
+$NetBSD: patch-ah,v 1.1 2002/11/26 12:32:21 jmmv Exp $
+
+--- config/Makefile.in.orig Mon Mar 25 17:50:27 2002
++++ config/Makefile.in
+@@ -23,7 +23,8 @@ bindir = @bindir@
+ sbindir = @sbindir@
+ libexecdir = @libexecdir@
+ datadir = @datadir@
+-sysconfdir = @sysconfdir@
++realsysconfdir = @sysconfdir@
++sysconfdir = @datadir@/examples/@PACKAGE@
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@
+@@ -219,7 +220,7 @@ maintainer-clean-generic clean mostlycle
+
+
+ imrc: imrc.in
+- sed -e 's,\@sysconfdir\@,$(sysconfdir),g' \
++ sed -e 's,\@sysconfdir\@,$(realsysconfdir),g' \
+ < $(srcdir)/imrc.in > imrc.tmp \
+ && mv imrc.tmp imrc
+