From owner-cvs-all Sun Oct 4 13:36:16 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22475 for cvs-all-outgoing; Sun, 4 Oct 1998 13:36:16 -0700 (PDT) (envelope-from owner-cvs-all) Received: from alpha.xerox.com (omega.Xerox.COM [13.1.64.95]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA22381; Sun, 4 Oct 1998 13:35:54 -0700 (PDT) (envelope-from fenner@parc.xerox.com) Received: from mango.parc.xerox.com ([13.1.102.232]) by alpha.xerox.com with SMTP id <432388(4)>; Sun, 4 Oct 1998 13:35:22 PDT Received: from mango.parc.xerox.com (localhost.parc.xerox.com [127.0.0.1]) by mango.parc.xerox.com (8.8.8/8.8.8) with ESMTP id NAA03592; Sun, 4 Oct 1998 13:35:20 -0700 (PDT) (envelope-from fenner@mango.parc.xerox.com) Message-Id: <199810042035.NAA03592@mango.parc.xerox.com> To: "Jordan K. Hubbard" cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/archivers/unzip Makefile In-reply-to: Your message of "Sun, 04 Oct 1998 03:31:38 PDT." <199810041031.DAA16004@freefall.freebsd.org> Date: Sun, 4 Oct 1998 13:35:20 PDT From: Bill Fenner Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199810041031.DAA16004@freefall.freebsd.org>you write: > Make this work on the ALPHA I must be missing something - who sets MACHINE_ARCH? (In the RELENG_2_2 *.mk files, the answer is "nobody".) Do you mean something more like: --- Makefile 1998/10/04 10:31:38 1.19 +++ Makefile 1998/10/04 20:32:59 @@ -15,11 +15,6 @@ WRKSRC= ${WRKDIR}/unzip-5.32 MAKEFILE= unix/Makefile -.if ${MACHINE_ARCH} == alpha -ALL_TARGET= bsd -.else -ALL_TARGET= freebsd -.endif MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1 @@ -36,3 +31,9 @@ ${INSTALL_DATA} README COPYING WHERE ${PREFIX}/share/doc/unzip .include + +.if ${ARCH} == alpha +ALL_TARGET= bsd +.else +ALL_TARGET= freebsd +.endif since bsd.port.mk sets ARCH for us? Bill