1 $NetBSD: patch-aa,v 1.5 2009/03/10 23:30:00 he Exp $
3 Make pkgsrc file look in @sysconfdir@/magic first.
5 --- src/Makefile.in.orig 2012-02-21 19:17:04.000000000 +0000
7 @@ -240,10 +240,10 @@ target_alias = @target_alias@
8 top_build_prefix = @top_build_prefix@
9 top_builddir = @top_builddir@
10 top_srcdir = @top_srcdir@
11 -MAGIC = $(pkgdatadir)/magic
12 +MAGIC = @sysconfdir@/magic
13 lib_LTLIBRARIES = libmagic.la
14 include_HEADERS = magic.h
15 -AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
16 +AM_CPPFLAGS = -DMAGIC='"$(MAGIC):$(pkgdatadir)/magic"'
17 AM_CFLAGS = @WARNINGS@
18 libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
19 encoding.c compress.c is_tar.c readelf.c print.c fsmagic.c \