pkgsrc/math/udunits/patches/patch-aa
jmmv 89891d9632 Make udunits install its configuration file under the examples directory
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Fix this package so that it can be cleaned as a regular user.
Bump PKGREVISION to 1.
2002-12-24 17:21:03 +00:00

22 lines
813 B
Text

$NetBSD: patch-aa,v 1.4 2002/12/24 17:21:04 jmmv Exp $
--- port/master.mk.in.orig Wed Nov 25 17:26:56 1998
+++ port/master.mk.in
@@ -351,7 +351,7 @@ dummy_incdir $(INCDIR):
############################################################################
# `etc/' files:
############################################################################
-ETCDIR = $(prefix)/etc
+ETCDIR = @datadir@/examples/udunits
ETCFILE = dummy-etcfile # to silence GNU make(1)
installed_etcfiles:
@@ -387,7 +387,7 @@ MANUAL = dummy-manual # to slience GNU
WHATIS = @WHATIS@
# The following macro should be empty on systems that don't
# allow users to create their own manual-page indexes.
-MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
+#MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
installed_manuals: FORCE
@if [ -n "$(MANUALS)" ]; then \