aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-04-01 10:44:16 +0800
committerkris <kris@FreeBSD.org>2002-04-01 10:44:16 +0800
commit6a15de85de25d58552b5ab7e0e4931202d5cb618 (patch)
tree25b88b650e4a2af044aad59224330e0c50679c68 /lang
parent718a42121a3ff9f805990d3f4737a2c0569555e8 (diff)
downloadfreebsd-ports-gnome-6a15de85de25d58552b5ab7e0e4931202d5cb618.tar.gz
freebsd-ports-gnome-6a15de85de25d58552b5ab7e0e4931202d5cb618.tar.zst
freebsd-ports-gnome-6a15de85de25d58552b5ab7e0e4931202d5cb618.zip
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.
Diffstat (limited to 'lang')
-rw-r--r--lang/librep/Makefile6
-rw-r--r--lang/librep2/Makefile6
2 files changed, 6 insertions, 6 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
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