From owner-p4-projects@FreeBSD.ORG Sat Jan 19 23:49:36 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CD35716A41B; Sat, 19 Jan 2008 23:49:35 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AE6916A419 for ; Sat, 19 Jan 2008 23:49:35 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6D84113C447 for ; Sat, 19 Jan 2008 23:49:35 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0JNnZ6r005753 for ; Sat, 19 Jan 2008 23:49:35 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0JNnYT4005750 for perforce@freebsd.org; Sat, 19 Jan 2008 23:49:34 GMT (envelope-from imp@freebsd.org) Date: Sat, 19 Jan 2008 23:49:34 GMT Message-Id: <200801192349.m0JNnYT4005750@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 133692 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 23:49:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=133692 Change 133692 by imp@imp_paco-paco on 2008/01/19 23:49:25 Add note about a better, slightly more standard way to do this sort of thing. However, doing it like ports requires changes to the base tree. Affected files ... .. //depot/projects/mips2-jnpr/src/Makefile.inc1#4 edit Differences ... ==== //depot/projects/mips2-jnpr/src/Makefile.inc1#4 (text+ko) ==== @@ -1338,6 +1338,12 @@ ${_+_}cd ${.CURDIR}; ${CD2MAKE} -f Makefile.inc1 libraries \ DESTDIR=${XDDESTDIR} +# We should look at a way to do this the same way that all of the ports +# we have do it. It install things into ${BASE}/${XDDIR}/bin with the +# ${XDDIR}- prefix on all the binaries. These targets install things into +# ${BASE}/${XDDIR}/usr/bin without the ${XDDIR}- prefixes. I think the +# ports way is better, but haven't had a chance to change this to do that +# since that requires changes to the base system. _xi-links: ${_+_}cd ${XDDESTDIR}/usr/bin; \ for i in *; do \