summaryrefslogtreecommitdiff
path: root/net-p2p/mldonkey-devel
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-31 16:53:15 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-31 16:53:15 +0000
commit40839ea2fc0af060853f7a0b7860995f9b5bd551 (patch)
tree0e2f0e0278552d0c852b54566a8573776402f74a /net-p2p/mldonkey-devel
parentAdd mysql40-client and mysql40-server. (diff)
Only depend on compat4x port IF running on OSVERSION >= 500000
Diffstat (limited to 'net-p2p/mldonkey-devel')
-rw-r--r--net-p2p/mldonkey-devel/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index 207804b0dc67..3b5cd7eb1dd9 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/Makefile
@@ -15,8 +15,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/.0$/-0/}.shared.${ARCH}-${OPSYS}
MAINTAINER= holger@e-gitt.net
-LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
-
ONLY_FOR_ARCHS= alpha i386
USE_BZIP2= yes
NO_BUILD= yes
@@ -46,4 +44,10 @@ do-install:
post-install:
@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
+.endif
+
+.include <bsd.port.post.mk>