$NetBSD: patch-aa,v 1.2 2005/02/18 19:39:27 reed Exp $ --- src/Makefile.in.orig 2005-01-07 11:17:26.000000000 -0800 +++ src/Makefile.in @@ -84,14 +84,14 @@ am__include = @am__include@ am__quote = @am__quote@ fsect = @fsect@ install_sh = @install_sh@ -MAGIC = $(pkgdatadir)/magic +MAGIC = @sysconfdir@/magic lib_LTLIBRARIES = libmagic.la include_HEADERS = magic.h EXTRA_DIST = test.c bin_PROGRAMS = file -AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"' +AM_CPPFLAGS = -DMAGIC='"$(MAGIC):$(pkgdatadir)/magic"' libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \ compress.c is_tar.c readelf.c print.c fsmagic.c \