summaryrefslogtreecommitdiff
path: root/lang/librep
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/librep
parentFix major problems (diff)
LIB_DEPENDS on the libgmp3 port, not the libgmp port which is currently
broken. This allows the gnome build to complete on 5.0-CURRENT.
Notes
Notes: svn path=/head/; revision=57103
Diffstat (limited to 'lang/librep')
-rw-r--r--lang/librep/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index 3491d8946850..01c5923cff59 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/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