Install the header for libmagic.
PR: 73647 Submitted by: Uranus <uranus@it.muds.net>
This commit is contained in:
parent
37c510c7c0
commit
8e6acec2ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137887
@ -10,6 +10,7 @@ MAN= libmagic.3 magic.5
|
|||||||
|
|
||||||
SRCS= apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c \
|
SRCS= apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c \
|
||||||
is_tar.c magic.c print.c readelf.c softmagic.c
|
is_tar.c magic.c print.c readelf.c softmagic.c
|
||||||
|
INCS= magic.h
|
||||||
|
|
||||||
MAGICPATH?= /usr/share/misc
|
MAGICPATH?= /usr/share/misc
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ PROG= file
|
|||||||
MAGICPATH?= /usr/share/misc
|
MAGICPATH?= /usr/share/misc
|
||||||
|
|
||||||
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
|
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
|
||||||
CFLAGS+= -I${.CURDIR} -I${SRCDIR}
|
CFLAGS+= -I${.CURDIR}
|
||||||
|
|
||||||
DPADD= ${LIBMAGIC} ${LIBZ}
|
DPADD= ${LIBMAGIC} ${LIBZ}
|
||||||
LDADD= -lmagic -lz
|
LDADD= -lmagic -lz
|
||||||
|
Loading…
Reference in New Issue
Block a user