pkgsrc/graphics/imlib/patches/patch-ah
jmmv 67318997cd 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.
2002-11-26 12:32:20 +00:00

23 lines
661 B
Text

$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