Don't try to programatically support running file(1) w/in /usr/obj or other
non-standard install path. Agreed with: ru
This commit is contained in:
parent
273eef07a6
commit
6a44735c94
@ -11,7 +11,7 @@ MAN= libmagic.3 magic.5
|
||||
SRCS= apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c \
|
||||
is_tar.c magic.c print.c readelf.c softmagic.c
|
||||
|
||||
MAGICPATH?= ${DESTDIR}/usr/share/misc
|
||||
MAGICPATH?= /usr/share/misc
|
||||
|
||||
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DBUILTIN_ELF -DELFCORE -DHAVE_CONFIG_H
|
||||
CFLAGS+= -I${.CURDIR} -I${CONTRDIR}
|
||||
|
@ -25,7 +25,7 @@ SRCDIR= ${.CURDIR}/../../contrib/file
|
||||
|
||||
PROG= file
|
||||
|
||||
MAGICPATH?= ${DESTDIR}/usr/share/misc
|
||||
MAGICPATH?= /usr/share/misc
|
||||
|
||||
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
|
||||
CFLAGS+= -I${.CURDIR} -I${SRCDIR}
|
||||
|
Loading…
x
Reference in New Issue
Block a user