From owner-freebsd-commit Mon Jul 17 00:10:58 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA06960 for commit-outgoing; Mon, 17 Jul 1995 00:10:58 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA06949 for cvs-share-outgoing; Mon, 17 Jul 1995 00:10:54 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA06938 ; Mon, 17 Jul 1995 00:10:41 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id AAA09004; Mon, 17 Jul 1995 00:10:39 -0700 Date: Mon, 17 Jul 1995 00:10:39 -0700 Message-Id: <199507170710.AAA09004@silvia.HIP.Berkeley.EDU> To: jkh@freefall.cdrom.com CC: CVS-commiters@freefall.cdrom.com, cvs-share@freefall.cdrom.com In-reply-to: <199507151407.HAA26526@freefall.cdrom.com> (jkh@freefall.cdrom.com) Subject: Re: cvs commit: src/share/mk bsd.port.mk From: asami@cs.berkeley.edu (Satoshi Asami) Sender: commit-owner@FreeBSD.org Precedence: bulk * A regrettable hack to allow a port to say that it doesn't want its Makefiles * made after the xmkmf run. This is your change: ======= >> cvs diff -u -r1.171 bsd.port.mk Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v retrieving revision 1.171 diff -u -r1.171 bsd.port.mk --- 1.171 1995/07/11 02:15:35 +++ bsd.port.mk 1995/07/15 15:14:21 @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.171 1995/07/11 02:15:35 asami Exp $ +# $Id: bsd.port.mk,v 1.172 1995/07/15 14:07:02 jkh Exp $ # # Please view me with 4 column tabs! @@ -576,10 +576,14 @@ ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) .endif .if defined(USE_IMAKE) +.if defined(X_NO_MAKE_MAKEFILES) + @(cd ${WRKSRC}; ${XMKMF}) +.else .if defined(USE_GMAKE) @(cd ${WRKSRC}; ${XMKMF} && ${GMAKE} Makefiles) .else @(cd ${WRKSRC}; ${XMKMF} && ${MAKE} Makefiles) +.endif .endif .endif .endif ======= It seems to me like we can take out both the "make Makefiles" and the "regrettable hack". It shouldn't be necessary for the regular case, because ${XMKMF} is defined to be "xmkmf -a", which does (among other things) "make Makefiles". A little background information. This is where it was added: ======= revision 1.19 date: 1994/08/25 21:02:45; author: jkh; state: Exp; lines: +2 -2 Also `make Makefiles' in USE_IMAKE case to catch subdirs. Submitted by: jkh ======= However, this is before the addition of "-a" to "xmkmf": ======= revision 1.117 date: 1995/03/19 12:49:06; author: ats; state: Exp; lines: +3 -3 Change the xmkmf call to a xmkmf -a call. This should be more correct for all X11R5 and X11R6 ports. This is the way how it should be normally used according the manuals. Only pre-X1R5 ( X11R4, X11R3) ports can't handle it. ======= and the "make Makefiles" should have been taken out at this point. Satoshi