aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pecl-fileinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pecl-fileinfo/Makefile')
-rw-r--r--sysutils/pecl-fileinfo/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/sysutils/pecl-fileinfo/Makefile b/sysutils/pecl-fileinfo/Makefile
index c382a3087c72..17003b4e657e 100644
--- a/sysutils/pecl-fileinfo/Makefile
+++ b/sysutils/pecl-fileinfo/Makefile
@@ -20,15 +20,6 @@ COMMENT= A PECL extension to retrieve info about files
USE_PHP= yes
USE_PHPEXT= yes
-.include <bsd.port.pre.mk>
+CONFIGURE_ARGS= --with-fileinfo=/usr
-.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>
+.include <bsd.port.mk>