aboutsummaryrefslogtreecommitdiffstats
path: root/lang/objc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-11-20 18:48:33 +0800
committerdinoex <dinoex@FreeBSD.org>2005-11-20 18:48:33 +0800
commit888bbfd170e858d80e539850c6f74992b887de7b (patch)
treed1e5e80a326bab7bf0c8a2fa29f4eca327d129d6 /lang/objc
parent5c18794f8719ebc636dcb992e0474d0a945d528d (diff)
downloadfreebsd-ports-gnome-888bbfd170e858d80e539850c6f74992b887de7b.tar.gz
freebsd-ports-gnome-888bbfd170e858d80e539850c6f74992b887de7b.tar.zst
freebsd-ports-gnome-888bbfd170e858d80e539850c6f74992b887de7b.zip
- use byaccj from port to build, as byacc in base is broken
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/85115
Diffstat (limited to 'lang/objc')
-rw-r--r--lang/objc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/objc/Makefile b/lang/objc/Makefile
index e2eb60351bcd..5e1e89498208 100644
--- a/lang/objc/Makefile
+++ b/lang/objc/Makefile
@@ -14,6 +14,7 @@ DISTFILES= objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable Object Compiler
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
BOOTVERSION= 3.1.33
@@ -24,13 +25,17 @@ CONFIGURE_ARGS= --prefix=$(PREFIX)
.include <bsd.port.pre.mk>
+# byacc broken, http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/85115"
.if ${OSVERSION} >= 500113
-BROKEN= "byacc broken, http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/85115"
+BUILD_DEPENDS+= byaccj:${PORTSDIR}/devel/byaccj
.endif
pre-configure:
+.if ${OSVERSION} >= 500113
+ ${REINPLACE_CMD} -e 's|byacc|byaccj|' ${WRKSRC}/configure
+.endif
cd $(WRKDIR)/${PORTNAME}-bootstrap-$(BOOTVERSION);\
- ./configure --prefix=$(WRKDIR);${MAKE};${MAKE} install
+ ${CONFIGURE_ENV} ./configure --prefix=$(WRKDIR);${MAKE};${MAKE} install
pre-install:
$(MKDIR) $(PREFIX)/share/doc/objc