Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 13:35:20 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        "Jordan K. Hubbard" <jkh@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/archivers/unzip Makefile 
Message-ID:  <199810042035.NAA03592@mango.parc.xerox.com>
In-Reply-To: Your message of "Sun, 04 Oct 1998 03:31:38 PDT." <199810041031.DAA16004@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
+
+.if ${ARCH} == alpha
+ALL_TARGET=	bsd
+.else
+ALL_TARGET=     freebsd
+.endif


since bsd.port.mk sets ARCH for us?

  Bill



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