Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 00:17:07 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306829 - head/ports-mgmt/kports
Message-ID:  <201211020017.qA20H7rm005203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Fri Nov  2 00:17:06 2012
New Revision: 306829
URL: http://svn.freebsd.org/changeset/ports/306829

Log:
  Fix dependence on kde4-runtime
  
  Feature safe:	yes

Modified:
  head/ports-mgmt/kports/Makefile   (contents, props changed)

Modified: head/ports-mgmt/kports/Makefile
==============================================================================
--- head/ports-mgmt/kports/Makefile	Thu Nov  1 23:21:29 2012	(r306828)
+++ head/ports-mgmt/kports/Makefile	Fri Nov  2 00:17:06 2012	(r306829)
@@ -28,7 +28,7 @@ OPTIONS=	PORTAUDIT "Require Portaudit" o
 		KDESU4 "With KDE4 kdesu" off \
 		GKSU "With gksu" off
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if defined(WITHOUT_KDESU) && defined(WITHOUT_KDESU4) && defined(WITHOUT_GKSU)
 PKGMESSAGE=	${FILESDIR}/pkg-message.nosu
@@ -43,7 +43,7 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/kdesu:${P
 .endif
 
 .if defined(WITH_KDESU4)
-RUN_DEPENDS+=	${LOCALBASE}/kde4/lib/kde4/libexec/kdesu:${PORTSDIR}/x11/kdebase4-runtime
+USE_KDE4+=	runtime
 .endif
 
 .if defined(WITH_GKSU)
@@ -58,4 +58,4 @@ post-install:
 	@${CAT} ${PKGMESSAGE}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211020017.qA20H7rm005203>