aboutsummaryrefslogtreecommitdiffstats
path: root/net/mldonkey-gui-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-01 00:53:15 +0800
committerlioux <lioux@FreeBSD.org>2003-02-01 00:53:15 +0800
commitdd672cab97cab4260a2cbb7fec7ce0d9798f9aef (patch)
tree94858d71fa53d06f0291c819a8ced74b8a48a329 /net/mldonkey-gui-devel
parentf49beecd20e057dc499f8a792e4270609b162112 (diff)
downloadfreebsd-ports-graphics-dd672cab97cab4260a2cbb7fec7ce0d9798f9aef.tar.gz
freebsd-ports-graphics-dd672cab97cab4260a2cbb7fec7ce0d9798f9aef.tar.zst
freebsd-ports-graphics-dd672cab97cab4260a2cbb7fec7ce0d9798f9aef.zip
Only depend on compat4x port IF running on OSVERSION >= 500000
Diffstat (limited to 'net/mldonkey-gui-devel')
-rw-r--r--net/mldonkey-gui-devel/Makefile6
-rw-r--r--net/mldonkey-gui-devel/mldonkey-gui/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/net/mldonkey-gui-devel/Makefile b/net/mldonkey-gui-devel/Makefile
index f80595576d9..764dddd3a39 100644
--- a/net/mldonkey-gui-devel/Makefile
+++ b/net/mldonkey-gui-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= i386 alpha
USE_BZIP2= yes
USE_GNOMENG= yes
@@ -35,6 +33,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
+.endif
+
install-user: extract
.if !defined(LANG)
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"
diff --git a/net/mldonkey-gui-devel/mldonkey-gui/Makefile b/net/mldonkey-gui-devel/mldonkey-gui/Makefile
index f80595576d9..764dddd3a39 100644
--- a/net/mldonkey-gui-devel/mldonkey-gui/Makefile
+++ b/net/mldonkey-gui-devel/mldonkey-gui/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= i386 alpha
USE_BZIP2= yes
USE_GNOMENG= yes
@@ -35,6 +33,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
+.endif
+
install-user: extract
.if !defined(LANG)
@${ECHO_MSG} "Please call as: make install-user LANG=<lang>"