aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 15:13:16 +0800
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 15:13:16 +0800
commit10f266c4f0e5915f245b0183068297b65635cd8a (patch)
tree3d1905240c42f38d5be377dc80ba9931b83b85e4 /sysutils
parent5c948683eeab2c1a509dbf6ab6151d333eefba3c (diff)
downloadfreebsd-ports-gnome-10f266c4f0e5915f245b0183068297b65635cd8a.tar.gz
freebsd-ports-gnome-10f266c4f0e5915f245b0183068297b65635cd8a.tar.zst
freebsd-ports-gnome-10f266c4f0e5915f245b0183068297b65635cd8a.zip
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris Approved by: portmgr (implicit)
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>