PERFORCE change 101411 for review
Gabor Kovesdan
gabor at FreeBSD.org
Wed Jul 12 20:21:49 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=101411
Change 101411 by gabor at gabor_spitfire on 2006/07/12 20:21:16
Ports can only be installed with DESTDIR set if DESTDIR_READY is set as well.
The DESTDIR implementation is a big change to our ports infrastructure, so
we can't just commit these changes to Mk/, ports have to be tested and fixed
as well. This macro will help us to accomplish this.
Suggested by: sem
Affected files ...
.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#19 edit
Differences ...
==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#19 (text+ko) ====
@@ -502,6 +502,9 @@
# under /bla/var/db/pkg.
# Default: / (not set)
#
+# DESTDIR_READY - You should set this in your port's Makefile if your port is
+# ready to be used with DESTDIR set.
+#
# X11BASE - Where X11 ports install things.
# Default: /usr/X11R6
# LOCALBASE - Where non-X11 ports install things.
@@ -1518,6 +1521,10 @@
_POSTMKINCLUDED= yes
+.if !defined(DESTDIR_READY)
+IGNORE= is not ready to be used with DESTDIR
+.endif
+
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
.if defined(NO_WRKSUBDIR)
WRKSRC?= ${WRKDIR}
More information about the p4-projects
mailing list