Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 21:04:00 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132982 for review
Message-ID:  <200801102104.m0AL40YV005610@repoman.freebsd.org>

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

Change 132982 by jb@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>



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