aboutsummaryrefslogtreecommitdiff
path: root/lang/librep2
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-04-01 02:44:16 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-04-01 02:44:16 +0000
commit2ec29ba35f9338ff24f0574a56664e23b2ed0720 (patch)
treef28b185c017c3c257572f0490adfef577fa270e6 /lang/librep2
parent37b3900812236202a4b742fdf285fdeaf6082136 (diff)
downloadports-2ec29ba35f9338ff24f0574a56664e23b2ed0720.tar.gz
ports-2ec29ba35f9338ff24f0574a56664e23b2ed0720.zip
Notes
Diffstat (limited to 'lang/librep2')
-rw-r--r--lang/librep2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/librep2/Makefile b/lang/librep2/Makefile
index 3491d8946850..01c5923cff59 100644
--- a/lang/librep2/Makefile
+++ b/lang/librep2/Makefile
@@ -16,9 +16,6 @@ MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
intl.1:${PORTSDIR}/devel/gettext-old
-.if !exists(/usr/lib/libgmp.so)
-LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp
-.endif
PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} VERSION=${PORTVERSION}
@@ -40,6 +37,9 @@ CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
PREFIX?= ${X11BASE}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500023
+LIB_DEPENDS+= gmp.4:${PORTSDIR}/math/libgmp3
+.endif
.if ${XFREE86_VERSION} == 3
MTREE_FILE= /etc/mtree/BSD.x11.dist