libmagic: Update Makefile.
authorPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Dec 2011 22:40:49 +0000 (14:40 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Dec 2011 22:46:01 +0000 (14:46 -0800)
commit07b5fcf4530bc258ce8d95250e216bd7e339aecd
tree7349d6bd4ecb832b8e0b1f797fedabc69142e300
parent733403d618d2ba89c8c455033656c71b47d9e9b2
libmagic:  Update Makefile.

-Use SHAREDIR from bsd.own.mk instead of hardcoding it.
-Get rid of -I nonsense that was required when we used to patch the
vendor's .h, but we need to turn off warnings when building mkmagic.nx.

Inspired-by: http://bugs.dragonflybsd.org/issues/2206
lib/libmagic/Makefile