From owner-freebsd-bugs Fri Sep 20 04:20:13 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA13428 for bugs-outgoing; Fri, 20 Sep 1996 04:20:13 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA13379; Fri, 20 Sep 1996 04:20:04 -0700 (PDT) Date: Fri, 20 Sep 1996 04:20:04 -0700 (PDT) Message-Id: <199609201120.EAA13379@freefall.freebsd.org> To: freebsd-bugs Cc: From: asami@freebsd.org (Satoshi Asami) Subject: Re: bin/1643: Support for NetBSD in bsd.port.mk Reply-To: asami@freebsd.org (Satoshi Asami) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1643; it has been noted by GNATS. From: asami@freebsd.org (Satoshi Asami) To: FreeBSD-gnats-submit@freefall.FreeBSD.org Cc: Subject: Re: bin/1643: Support for NetBSD in bsd.port.mk Date: Fri, 20 Sep 1996 04:13:29 -0700 (PDT) * From: Jason Thorpe Thanks for your submission, Jason. Now, my comments: * ! # $Id: bsd.port.mk,v 1.1.1.2 1996/09/19 04:46:10 thorpej Exp $ * ! # from FreeBSD Id: bsd.port.mk,v 1.224 1996/08/25 21:07:38 wosch Exp You should clean up your patches before sending it over you know. :) * + # If NetBSD, we need to include bsd.own.mk to get system make * + # configuration options. * + .if (${OPSYS} == "NetBSD") * + .include * + .endif * + This doesn't belong to bsd.port.mk. I don't mind including NetBSD support, but not crude hacks of this kind. Why does this have to be in bsd.port.mk? * ! # by individual Makefiles or local system make configuration. * ! .if (${OPSYS} == "NetBSD") * ! PORTSDIR?= ${DESTDIR}/usr/opt * ! .else * PORTSDIR?= ${DESTDIR}/usr/ports * + .endif Looks good.... * + .if (${OPSYS} == "NetBSD") * + MD5?= /usr/bin/md5 * + .else * MD5?= /sbin/md5 * + .endif Ok.... * ! ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \ Yes.... * + # XXXthorpej -- This needs lots of work for NetBSD! Duh.... ;) * ! # from FreeBSD Id: bsd.port.subdir.mk,v 1.14 1996/04/09 22:54:13 wosch Exp Please.... ;> Satoshi