PERFORCE change 132982 for review

John Birrell jb at FreeBSD.org
Thu Jan 10 13:04:00 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132982

Change 132982 by jb at jb_freebsd1 on 2008/01/10 21:03:58

	Add a 'D' library script matching the one on Solaris. Install this
	in /usr/lib/dtrace (which contains the set of D scripts that DTrace
	loads by default when parsing D scripts).

Affected files ...

.. //depot/projects/dtrace/src/cddl/lib/libdtrace/Makefile#18 edit
.. //depot/projects/dtrace/src/cddl/lib/libdtrace/unistd.d#1 add

Differences ...

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

@@ -46,8 +46,7 @@
 		dt_xlator.c \
 		gmatch.c
 
-DSRCS=		errno.d \
-		psinfo.d
+DSRCS=		unistd.d
 
 .PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
 .PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libgen/common
@@ -88,11 +87,11 @@
 
 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
+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>


More information about the p4-projects mailing list