svn commit: r306829 - head/ports-mgmt/kports

Max Brazhnikov makc at FreeBSD.org
Fri Nov 2 00:17:07 UTC 2012


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>


More information about the svn-ports-all mailing list