1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/lang/objc/Makefile
Martin Wilke 3781f2f896 - Broken fails to build
make compiler
cd src; cd objcrt; make
objc -q -c Object.m -DNDEBUG -O2 -noI
ar cr objcrt.a Object.o
objc -q -c Block.m -DNDEBUG -O2 -noI
/usr/include/stdlib.h:82: fatal: syntax error "void"
*** [Block.o] Error code 1
2013-02-27 14:30:27 +00:00

39 lines
1021 B
Makefile

# Created by: chuckr@freebsd.org
# $FreeBSD$
PORTNAME= objc
PORTVERSION= 3.2.11
CATEGORIES= lang
MASTER_SITES= http://users.telenet.be/stes/
DISTFILES= objc-bootstrap-${BOOTVERSION}.tar.gz objc-${PORTVERSION}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable Object Compiler
BOOTVERSION= 3.2.11
BROKEN= fails to build
ALL_TARGET= default
MAKE_ENV= PATH=${WRKDIR}/bin:${PATH}
GNU_CONFIGURE= yes
CONFIGURE_ENV= PATH=${WRKDIR}/bin:${PATH}
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
pre-configure:
cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
${CONFIGURE_ENV} ${MAKE_ENV} ./configure --prefix=${WRKDIR};${MAKE};${MAKE} install
pre-install:
${MKDIR} ${PREFIX}/share/doc/objc
${MKDIR} ${PREFIX}/share/doc/objc/examples
${MKDIR} ${PREFIX}/share/doc/objc/html
${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/examples
${TAR} -cf - -C ${WRKSRC}/html . | ${TAR} xpf - -C ${PREFIX}/share/doc/objc/html
.include "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>