aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-09-07 05:49:01 +0800
committerthierry <thierry@FreeBSD.org>2004-09-07 05:49:01 +0800
commit430a4857457ff856eb9e6609b0257975e91786bf (patch)
tree67f3d8513388993eef66206f7757dad90c714740
parent7e0dec65869403e414e7b55331edbc3e2bd1c531 (diff)
downloadfreebsd-ports-gnome-430a4857457ff856eb9e6609b0257975e91786bf.tar.gz
freebsd-ports-gnome-430a4857457ff856eb9e6609b0257975e91786bf.tar.zst
freebsd-ports-gnome-430a4857457ff856eb9e6609b0257975e91786bf.zip
Remove a false dependency if pgrep/pkill are included in the base system.
Approved by: portmgr (mcl).
-rw-r--r--lang/gambas/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index fa3342719097..1c16ece8e60c 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -13,7 +13,6 @@ MAINTAINER= thierry@FreeBSD.org
COMMENT= Gambas Almost Means BASic
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
-RUN_DEPENDS= pgrep:${PORTSDIR}/sysutils/pkill
USE_LIBLTDL= yes
USE_KDELIBS_VER= 3
@@ -53,6 +52,10 @@ PLIST_SUB+= SDL="@comment "
BROKEN= "Does not compile with gcc-2.95"
.endif
+.if ${OSVERSION} < 502110
+RUN_DEPENDS+= pgrep:${PORTSDIR}/sysutils/pkill
+.endif
+
.for lib in ${LIBS2FIX}
NEW${lib:U}!= ${LDCONFIG} -r | ${GREP} ${lib} | ${GREP} -v 'compat/pkg' \
| ${AWK} -F 'lib\/' '{print $$2}'