$NetBSD: patch-aa,v 1.4 2008/10/29 20:50:16 christos Exp $ --- src/Makefile.in.orig 2008-09-03 16:03:38.601850000 +0200 +++ src/Makefile.in 2008-09-03 16:04:07.409017000 +0200 @@ -195,10 +195,10 @@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -MAGIC = $(pkgdatadir)/magic +MAGIC = @sysconfdir@/magic lib_LTLIBRARIES = libmagic.la include_HEADERS = magic.h -AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"' +AM_CPPFLAGS = -DMAGIC='"$(MAGIC):$(pkgdatadir)/magic"' AM_CFLAGS = @WARNINGS@ libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \ compress.c is_tar.c readelf.c print.c fsmagic.c \