From owner-cvs-all Sun Oct 4 20:23:38 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA17720 for cvs-all-outgoing; Sun, 4 Oct 1998 20:23:38 -0700 (PDT) (envelope-from owner-cvs-all) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA17656; Sun, 4 Oct 1998 20:23:24 -0700 (PDT) (envelope-from asami@sunrise.cs.berkeley.edu) Received: from bubble.didi.com (sji-ca11-102.ix.netcom.com [209.109.237.102]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id UAA15441; Sun, 4 Oct 1998 20:22:54 -0700 (PDT) Received: (from asami@localhost) by bubble.didi.com (8.8.8/8.8.8) id UAA00586; Sun, 4 Oct 1998 20:15:34 -0700 (PDT) (envelope-from asami) Date: Sun, 4 Oct 1998 20:15:34 -0700 (PDT) Message-Id: <199810050315.UAA00586@bubble.didi.com> To: jkh@time.cdrom.com CC: fenner@parc.xerox.com, jkh@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: <9860.907533772@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: cvs commit: ports/archivers/unzip Makefile From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * Argh, sorry, this is a 3.0-ism. Hmmm. Help, Satoshi! Since your * stuff is sort of weirdly "cross branch" here, what's the canonical way * of dealing with architecture specific changes in the ports collection? As a generic answer: you can put stuff in "patches.alpha" etc. if the differences are major. These replace the generic "patches" etc. See bsd.port.mk for which subdirectories are supported. You can also create a "Makefile.alpha", which is included only for alphas for instance. It's probably easier to #ifdef the sources in most cases, though. Satoshi