summaryrefslogtreecommitdiff
path: root/www/opera-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/opera-devel')
-rw-r--r--www/opera-devel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/opera-devel/Makefile b/www/opera-devel/Makefile
index 2c1f71ca9ac6..737daad827d2 100644
--- a/www/opera-devel/Makefile
+++ b/www/opera-devel/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>