aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-10 20:43:58 +0800
committeralane <alane@FreeBSD.org>2002-09-10 20:43:58 +0800
commit18f51d63f9737c0f546f6803727d86cbc996e3ca (patch)
tree72a6db225448580bf66dd9fe0a06d64f2b3b14ec
parentbc78458b5ee8f0952a2cc6da0ab1d8188e0dc24e (diff)
downloadfreebsd-ports-gnome-18f51d63f9737c0f546f6803727d86cbc996e3ca.tar.gz
freebsd-ports-gnome-18f51d63f9737c0f546f6803727d86cbc996e3ca.tar.zst
freebsd-ports-gnome-18f51d63f9737c0f546f6803727d86cbc996e3ca.zip
Make fam an optional dependency. It may be having some gcc related problems
on -current, so we'll not require it.
-rw-r--r--x11/kdelibs3/Makefile5
-rw-r--r--x11/kdelibs4/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 32857e3333d5..c2048e365275 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
qtmcop.1:${PORTSDIR}/audio/arts \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
- fam.0:${PORTSDIR}/devel/fam \
xml2.5:${PORTSDIR}/textproc/libxml2 \
pcre.0:${PORTSDIR}/devel/pcre \
cups.2:${PORTSDIR}/print/cups-base \
@@ -50,6 +49,10 @@ PLIST_SUB+= LIBVER="${SOMAJOR}" LDCONFIG="${LDCONFIG}"
.include <bsd.port.pre.mk>
+.if exists(${LOCALBASE}/bin/fam)
+LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
+.endif
+
pre-fetch: kde-version-check
.if ${OSVERSION} <= 410002
@${ECHO}
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 32857e3333d5..c2048e365275 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
qtmcop.1:${PORTSDIR}/audio/arts \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
- fam.0:${PORTSDIR}/devel/fam \
xml2.5:${PORTSDIR}/textproc/libxml2 \
pcre.0:${PORTSDIR}/devel/pcre \
cups.2:${PORTSDIR}/print/cups-base \
@@ -50,6 +49,10 @@ PLIST_SUB+= LIBVER="${SOMAJOR}" LDCONFIG="${LDCONFIG}"
.include <bsd.port.pre.mk>
+.if exists(${LOCALBASE}/bin/fam)
+LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
+.endif
+
pre-fetch: kde-version-check
.if ${OSVERSION} <= 410002
@${ECHO}