summaryrefslogtreecommitdiff
path: root/www/opera
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-11-28 12:12:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-11-28 12:12:39 +0000
commitccabe57855c893121d5a530c0aa761c3f9f38824 (patch)
tree843e0abdf5c456d5fec1ba5c5ac777d796a060a4 /www/opera
parentClaim maintainership as the creator of these ports until the previous (diff)
Unbreak 4.x by making the compat4x dependency conditional on OSVERSION.
Submitted by: edwin Approved by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=71196
Diffstat (limited to 'www/opera')
-rw-r--r--www/opera/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/opera/Makefile b/www/opera/Makefile
index 2c1f71ca9ac6..737daad827d2 100644
--- a/www/opera/Makefile
+++ b/www/opera/Makefile
@@ -15,7 +15,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/10./10-/}.1-static-qt.i386.freebsd
MAINTAINER= des@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-LIB_DEPENDS= c_r.4:${PORTSDIR}/misc/compat4x
USE_BZIP2= yes
ONLY_FOR_ARCHS= i386
@@ -27,4 +26,10 @@ NO_FILTER_SHLIBS=yes
do-install:
(cd ${WRKSRC} && ${SH} install.sh --prefix="${PREFIX}")
-.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>