diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-11-19 07:20:38 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-11-19 07:20:38 +0000 |
commit | a4471ae836edfe2522ca4c19f7d48402c7a64586 (patch) | |
tree | 9de3eff5367cc4a3b0868ee96bbc05f8382b6a03 /sysutils | |
parent | Update to 0.2.1 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=121950
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pecl-fileinfo/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sysutils/pecl-fileinfo/Makefile b/sysutils/pecl-fileinfo/Makefile index 5d45a5d15360..f1a266cb8bd3 100644 --- a/sysutils/pecl-fileinfo/Makefile +++ b/sysutils/pecl-fileinfo/Makefile @@ -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> + +.if ${OSVERSION} < 502128 +LIB_DEPENDS= magic.1:${PORTSDIR}/sysutils/file +MAGICBASE= ${LOCALBASE} +.else +MAGICBASE= /usr +.endif + +CONFIGURE_ARGS= --with-fileinfo=${MAGICBASE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |