Update libmagic.1 dependency, since now it's in base system.

The port is still broken in 5.3, but will work when obrien
will MFC the installation of magic.h header file.
This commit is contained in:
Alex Dupre 2004-11-19 07:20:38 +00:00
parent d7b932e938
commit a4471ae836
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121950

View File

@ -17,11 +17,18 @@ DIST_SUBDIR= PECL
MAINTAINER= ale@FreeBSD.org
COMMENT= A PECL extension to retrieve info about files
LIB_DEPENDS= magic.1:${PORTSDIR}/sysutils/file
USE_PHP= yes
USE_PHPEXT= yes
CONFIGURE_ARGS= --with-fileinfo=${LOCALBASE}
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if ${OSVERSION} < 502128
LIB_DEPENDS= magic.1:${PORTSDIR}/sysutils/file
MAGICBASE= ${LOCALBASE}
.else
MAGICBASE= /usr
.endif
CONFIGURE_ARGS= --with-fileinfo=${MAGICBASE}
.include <bsd.port.post.mk>