aboutsummaryrefslogtreecommitdiff
path: root/lang/objc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-11-20 10:48:33 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-11-20 10:48:33 +0000
commit04ed28441e11e10b35c6748c370be90c03f2aca3 (patch)
treea6c83e159b8f2bdf7e1ff27a96341ea6e01200c8 /lang/objc
parenta3269b8acdcbda14a3699ddab5f6bd6395d7069a (diff)
downloadports-04ed28441e11e10b35c6748c370be90c03f2aca3.tar.gz
ports-04ed28441e11e10b35c6748c370be90c03f2aca3.zip
Notes
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