From owner-freebsd-ports Thu Sep 17 17:21:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA13158 for freebsd-ports-outgoing; Thu, 17 Sep 1998 17:21:25 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) 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 RAA13016 for ; Thu, 17 Sep 1998 17:20:28 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca5-24.ix.netcom.com [209.109.234.24]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id RAA07732; Thu, 17 Sep 1998 17:19:44 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id RAA16202; Thu, 17 Sep 1998 17:18:46 -0700 (PDT) Date: Thu, 17 Sep 1998 17:18:46 -0700 (PDT) Message-Id: <199809180018.RAA16202@silvia.hip.berkeley.edu> To: cracauer@cons.org CC: ports@FreeBSD.ORG In-reply-to: <19980917160149.A23619@cons.org> (message from Martin Cracauer on Thu, 17 Sep 1998 16:01:49 +0200) Subject: Re: ELF transition for ports From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * My shells/scsh port doesn't even build on ELF and I don't think I can * fix that until 3.0-RELEASE. * * What to do, is there a seperate BROKEN variable for ELF? What do you think about this one? Satoshi ------- Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v retrieving revision 1.227.2.54 diff -u -r1.227.2.54 bsd.port.mk --- bsd.port.mk 1998/09/17 01:22:32 1.227.2.54 +++ bsd.port.mk 1998/09/18 00:12:30 @@ -92,6 +92,7 @@ # NO_CDROM - Port may not go on CDROM. # NO_PACKAGE - Port should not be packaged but distfiles can be put on # ftp sites and CDROMs. +# BROKEN_ELF - Port doesn't build on ELF machines. # BROKEN - Port is broken. # # This variable is a boolean, so you don't need to set it to the reason. @@ -979,6 +980,8 @@ # Don't build a port if it's restricted and we don't want to get # into that. # +# Don't build a port on an ELF machine if it's broken for ELF. +# # Don't build a port if it's broken. ################################################################ @@ -1016,6 +1019,8 @@ IGNORE= "defines NO_CONFIGURE, which is obsoleted" .elif defined(NO_PATCH) IGNORE= "defines NO_PATCH, which is obsoleted" +.elif (defined(BROKEN_ELF) && (${PORTOBJFORMAT} == "elf")) +IGNORE= "is broken for ELF: ${BROKEN_ELF}" .elif defined(BROKEN) IGNORE= "is marked as broken: ${BROKEN}" .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message