aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-07-21 13:16:18 +0800
committeralane <alane@FreeBSD.org>2002-07-21 13:16:18 +0800
commit712583d481676a3a54d19afe34bedca5869aacd6 (patch)
tree351134923607c04856847eeb8637d15a6cb9163d
parentd231285f7b1ff367808991c696c3116d2772f27b (diff)
downloadfreebsd-ports-gnome-712583d481676a3a54d19afe34bedca5869aacd6.tar.gz
freebsd-ports-gnome-712583d481676a3a54d19afe34bedca5869aacd6.tar.zst
freebsd-ports-gnome-712583d481676a3a54d19afe34bedca5869aacd6.zip
If user invokes make with 'package' as the target, then make the packages
for the dependencies, too, to follow POLA; it is surprising to get no pkg but an empty one containing meta-information (dependencies). Approved by: will
-rw-r--r--x11/kde3/Makefile4
-rw-r--r--x11/kde4/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/x11/kde3/Makefile b/x11/kde3/Makefile
index d37028043921..af2af0cd245c 100644
--- a/x11/kde3/Makefile
+++ b/x11/kde3/Makefile
@@ -24,6 +24,10 @@ RUN_DEPENDS= kjumpingcube:${PORTSDIR}/games/kdegames3 \
USE_KDEBASE_VER=3
NO_BUILD= yes
+.if make(package)
+DEPENDS_TARGET="package"
+.endif
+
do-install: # empty
.include <bsd.port.mk>
diff --git a/x11/kde4/Makefile b/x11/kde4/Makefile
index d37028043921..af2af0cd245c 100644
--- a/x11/kde4/Makefile
+++ b/x11/kde4/Makefile
@@ -24,6 +24,10 @@ RUN_DEPENDS= kjumpingcube:${PORTSDIR}/games/kdegames3 \
USE_KDEBASE_VER=3
NO_BUILD= yes
+.if make(package)
+DEPENDS_TARGET="package"
+.endif
+
do-install: # empty
.include <bsd.port.mk>