pkgsrc/math/udunits/patches/patch-ab
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

13 lines
407 B
Text

$NetBSD: patch-ab,v 1.1 2002/12/24 17:21:04 jmmv Exp $
--- lib/Makefile.in.orig Wed Apr 30 23:49:58 1997
+++ lib/Makefile.in
@@ -7,7 +7,7 @@
LIBRARY = udunits
FLEX = /usr/local/gnu/bin/flex
-cpp_path = -DUT_DEFAULT_PATH='"$(prefix)/etc/udunits.dat"'
+cpp_path = -DUT_DEFAULT_PATH='"@sysconfdir@/udunits.dat"'
CPPFLAGS = -I../port/misc -I../port/cfortran $(cpp_path) @CPPFLAGS@
CFLAGS = @CFLAGS@