From 40839ea2fc0af060853f7a0b7860995f9b5bd551 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Fri, 31 Jan 2003 16:53:15 +0000 Subject: Only depend on compat4x port IF running on OSVERSION >= 500000 --- net-p2p/mldonkey/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net-p2p/mldonkey') diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index 207804b0dc67..3b5cd7eb1dd9 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/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 +.include + +.if ${OSVERSION} >= 500000 +LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x +.endif + +.include -- cgit v1.2.3