f0fc69261f
Turning off optimization, one gets further but an internal compiler error occurs: CONT_Btree.cxx: In method `TBtreeIter::TBtreeIter(const TBtreeIter &)': CONT_Btree.cxx:601: warning: base class `class TIterator' should be explicitly initialized in the copy constructor CONT_Btree.cxx: In method `TBtInnerNode::TBtInnerNode(TBtInnerNode *, TBtree *, TBtNode *)': CONT_Btree.cxx:688: Internal compiler error. CONT_Btree.cxx:688: Please submit a full bug report. CONT_Btree.cxx:688: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. cpp0: output pipe has been closed gmake[1]: *** [CONT_Btree.o] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/misc/root/work.arm/src' gmake: *** [netbsd] Error 2
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2002/06/08 12:40:19 cjep Exp $
|
|
|
|
DISTNAME= root_v2.23.08.source
|
|
PKGNAME= root-2.23
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://root.cern.ch/root/
|
|
|
|
MAINTAINER= drochner@netbsd.org
|
|
HOMEPAGE= http://root.cern.ch/
|
|
COMMENT= OO framework for data analysis and visualisation
|
|
|
|
BUILD_DEPENDS+= cint-5.14.40:../../lang/cint
|
|
|
|
USE_GMAKE= YES
|
|
USE_XPM= YES
|
|
|
|
ALL_TARGET= netbsd
|
|
MAKE_ENV= LD_LIBRARY_PATH=${WRKDIR}/lib ROOTSYS=${WRKDIR}
|
|
|
|
.if (${MACHINE_ARCH} == "arm")
|
|
BROKEN= Compilation stops due to internal compiler error
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
do-configure:
|
|
${CP} ${FILESDIR}/Makefile.netbsd ${WRKDIR}/src
|
|
${INSTALL_PROGRAM_DIR} ${WRKDIR}/bin
|
|
${INSTALL_DATA_DIR} ${WRKDIR}/lib
|
|
${INSTALL_DATA} ${PREFIX}/cint/MAKEINFO ${WRKDIR}/cint
|
|
${INSTALL_DATA} ${PREFIX}/cint/include/iosenum.h ${WRKDIR}/cint/include
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/root
|
|
${INSTALL_DATA_DIR} ${PREFIX}/root/include
|
|
(cd ${WRKDIR}/src; ${CP} *.h MAIN_rmain.cxx ${PREFIX}/root/include)
|
|
(cd ${WRKDIR}; tar cf - lib bin cint)|(cd ${PREFIX}/root;tar xf -)
|
|
${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/root.sh >${PREFIX}/bin/root
|
|
${CHMOD} +x ${PREFIX}/bin/root
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|