Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2006 23:10:04 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 104568 for review
Message-ID:  <200608192310.k7JNA4Gt027239@repoman.freebsd.org>

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

Change 104568 by jb@jb_zoo on 2006/08/19 23:09:05

	A quirk of the amd64 build is the 32-bit libraries which build into
	a temporary obj directory which isn't created by mtree, so the
	subdirectories aren't created.
	
	When installing the DTrace library scripts, only do so if the target
	directory has been created, as is the case for the real install.
	For the lib32 build case, the DTrace library scripts aren't required.

Affected files ...

.. //depot/projects/dtrace/src/cddl/lib/libdtrace/Makefile#13 edit

Differences ...

==== //depot/projects/dtrace/src/cddl/lib/libdtrace/Makefile#13 (text+ko) ====

@@ -87,8 +87,10 @@
 beforedepend:	dt_errtags.c dt_names.c
 
 beforeinstall:
+.if exists(${DESTDIR}/usr/lib/dtrace)
 .for file in ${DSRCS}
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${.CURDIR}/${file} ${DESTDIR}/usr/lib/dtrace
 .endfor
+.endif
 
 .include <bsd.lib.mk>



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