Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 20:21:48 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 101411 for review
Message-ID:  <200607122021.k6CKLmhM082684@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101411

Change 101411 by gabor@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}



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