diff options
author | des <des@FreeBSD.org> | 2002-11-28 20:12:39 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-11-28 20:12:39 +0800 |
commit | 6fa686f41c4923a3d77b2f5e181e4c2274f480cf (patch) | |
tree | 4d29dffb76ea34f4b532b9114cf4cb9d8f064d7a /www/opera | |
parent | 2fc22d7ab119adbf2c95d8bbad3e864f3d74c7b1 (diff) | |
download | freebsd-ports-gnome-6fa686f41c4923a3d77b2f5e181e4c2274f480cf.tar.gz freebsd-ports-gnome-6fa686f41c4923a3d77b2f5e181e4c2274f480cf.tar.zst freebsd-ports-gnome-6fa686f41c4923a3d77b2f5e181e4c2274f480cf.zip |
Unbreak 4.x by making the compat4x dependency conditional on OSVERSION.
Submitted by: edwin
Approved by: portmgr (kris)
Diffstat (limited to 'www/opera')
-rw-r--r-- | www/opera/Makefile | 9 |
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> |