aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/asr-utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/asr-utils/Makefile b/sysutils/asr-utils/Makefile
index 2400e1946caf..4856a18c0b30 100644
--- a/sysutils/asr-utils/Makefile
+++ b/sysutils/asr-utils/Makefile
@@ -23,6 +23,12 @@ NO_WRKSUBDIR= yes
USE_XLIB= yes
BINS= dptcom dpteng dptscom dptsig raidutil dptmgr
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-build:
${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
${FILESDIR}/dptmgr.sh.in > ${WRKDIR}/dptmgr.sh
@@ -41,4 +47,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/libXm.so.1 ${X11BASE}/lib
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>