Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 1998 17:18:46 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        cracauer@cons.org
Cc:        ports@FreeBSD.ORG
Subject:   Re: ELF transition for ports
Message-ID:  <199809180018.RAA16202@silvia.hip.berkeley.edu>
In-Reply-To: <19980917160149.A23619@cons.org> (message from Martin Cracauer on Thu, 17 Sep 1998 16:01:49 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



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