ports/54555: [new port] devel/gccxml: An XML output extension to GCC

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Tue Jul 29 14:52:28 UTC 2003


> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [new port] devel/gccxml: An XML output extension to GCC
> >Arrival-Date:   Wed Jul 16 14:20:06 PDT 2003

Please apply the following patch to the initial submission. This will
only build the relevant part, even on -CURRENT. (And fix a speling error).

--- Makefile.orig	Tue Jul 29 16:48:08 2003
+++ Makefile	Tue Jul 29 16:48:27 2003
@@ -14,7 +14,7 @@
 MAINTAINER=	stolz at i2.informatik.rwth-aachen.de
 COMMENT=	XML output extension to GCC
 
-BUILD_DEPEND=	cmake:${PORTSDIR}/devel/cmake
+BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
 
 # This one's neat: We have to build things in two subdirectories,
 #   but only need to invoke configure in one of them. This means we
@@ -26,7 +26,7 @@
 INSTALL_WRKSRC=		${WRKDIR}/${DISTNAME}-build
 
 GNU_CONFIGURE=	YES
-CONFIGURE_ARGS=	--enable-languages=c++ --without-libstdcxx
+CONFIGURE_ARGS=	--enable-languages=c++ --without-libstdcxx --disable-nls --without-libstdc
 
 MAN1=	gccxml.1
 
@@ -39,7 +39,8 @@
 	${LOCALBASE}/bin/cmake ../${DISTNAME} -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
 
 do-build:
-	cd ${CONFIGURE_WRKSRC} && ${MAKE}
+	cd ${CONFIGURE_WRKSRC}/libiberty && ${MAKE} libiberty.a
+	cd ${CONFIGURE_WRKSRC}/gcc && ${MAKE} tm.h tm_p.h cc1plus
 	cd ${WRKDIR}/${DISTNAME}-build && ${MAKE}
 
 post-install:
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine 



More information about the freebsd-ports-bugs mailing list