aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-02-11 03:23:54 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-02-11 03:23:54 +0000
commit16565f468077ac01977ed6abf0e2c3cb483faa71 (patch)
tree8ba590e4ac4a234db8be866f5988d0123746cd2c /textproc
parent4881d4518e8df0843d61a4116da041b102ae7863 (diff)
downloadports-16565f468077ac01977ed6abf0e2c3cb483faa71.tar.gz
ports-16565f468077ac01977ed6abf0e2c3cb483faa71.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rast/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/rast/Makefile b/textproc/rast/Makefile
index fc446636c0ee..32fb9c9b69f1 100644
--- a/textproc/rast/Makefile
+++ b/textproc/rast/Makefile
@@ -64,11 +64,13 @@ CONFIGURE_ARGS+= --without-xmlrpc-c-config
PLIST_SUB+= WITH_XMLRPC_C="@comment "
.endif
+.include <bsd.port.pre.mk>
+
# For 4.x systems.
-.if !exists(/usr/include/magic.h)
+.if (${OSREL} <= 4 || ${OSVERSION} <= 503000)
BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
.endif
DEFAULT_ENCODING?= euc_jp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>