diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-12-23 02:08:11 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-12-23 02:08:11 +0800 |
commit | 025a38b4294759e6748a1b8c15c266086116cc7e (patch) | |
tree | b7aa7b7ccbaaf52acacd1f3e41baab824baab2fd | |
parent | 99a46c1cedfe66e3a851e5c9e64ba2dde1dd6548 (diff) | |
download | freebsd-ports-gnome-025a38b4294759e6748a1b8c15c266086116cc7e.tar.gz freebsd-ports-gnome-025a38b4294759e6748a1b8c15c266086116cc7e.tar.zst freebsd-ports-gnome-025a38b4294759e6748a1b8c15c266086116cc7e.zip |
- Fix build
- Utilize NOPORTDOCS
PR: 46437
Submitted by: Ports Fury
-rw-r--r-- | math/blitz++/Makefile | 17 | ||||
-rw-r--r-- | math/blitz++/files/patch-Makefile.in | 15 | ||||
-rw-r--r-- | math/blitz++/pkg-plist | 258 |
3 files changed, 150 insertions, 140 deletions
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile index 2366a9c01442..dcbed1cb8129 100644 --- a/math/blitz++/Makefile +++ b/math/blitz++/Makefile @@ -10,21 +10,26 @@ PORTNAME= blitz++ PORTVERSION= 0.6 CATEGORIES= math MASTER_SITES= http://www.oonumerics.org/blitz/download/releases/ -DISTNAME= blitz-${PORTVERSION:S/b/beta/} +DISTNAME= blitz-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= blas:${PORTSDIR}/math/blas +LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas USE_REINPLACE= yes +USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= LDFLAGS="-lg2c" -CONFIGURE_ARGS= --with-cxx=gcc --with-blas=${LOCALBASE}/lib \ - --enable-optimize --disable-debug -USE_GMAKE= yes +CONFIGURE_ARGS= --with-cxx=gcc --disable-debug --with-blas=${LOCALBASE}/lib +MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ + AUTOHEADER="${TRUE}" post-patch: @${FIND} ${WRKSRC}/manual -name "Makefile.in" | ${XARGS} \ - ${REINPLACE_CMD} -e "s,[$$][(]prefix[)],\$$(datadir)," + ${REINPLACE_CMD} -e 's|[(]prefix[)]|(datadir)|g' + @${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \ + s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \ + s|-O2||g' ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/math/blitz++/files/patch-Makefile.in b/math/blitz++/files/patch-Makefile.in index e5ce0e32b231..7a8b0e6e648e 100644 --- a/math/blitz++/files/patch-Makefile.in +++ b/math/blitz++/files/patch-Makefile.in @@ -1,15 +1,20 @@ ---- Makefile.in.orig Wed Jul 17 08:39:02 2002 -+++ Makefile.in Thu Oct 10 18:14:58 2002 -@@ -93,7 +93,7 @@ +--- Makefile.in.orig Wed Jul 17 09:39:02 2002 ++++ Makefile.in Tue Dec 17 21:24:13 2002 +@@ -93,7 +93,12 @@ RANLIB = @RANLIB@ STRIP = @STRIP@ -SUBDIRS = . bin compiler blitz random src lib manual testsuite examples benchmarks demos -+SUBDIRS = . bin compiler blitz random src lib manual ++ifndef NOPORTDOCS ++DOCS = manual ++endif ++ ++SUBDIRS = . bin compiler blitz random src lib $(DOCS) ++ VERSION = @VERSION@ am__include = @am__include@ am__quote = @am__quote@ -@@ -405,7 +405,7 @@ +@@ -405,7 +410,7 @@ info-am: diff --git a/math/blitz++/pkg-plist b/math/blitz++/pkg-plist index 7a4ef543590a..6b2e2f38dc47 100644 --- a/math/blitz++/pkg-plist +++ b/math/blitz++/pkg-plist @@ -177,133 +177,133 @@ include/random/gamma.h include/random/mt.h include/random/normal.h include/random/uniform.h -@dirrm include/blitz/array -@dirrm include/blitz/generate -@dirrm include/blitz/meta -@dirrm include/blitz -@dirrm include/random lib/libblitz.a -share/doc/blitz/Frames.html -share/doc/blitz/INDEX.html -share/doc/blitz/Index-epilogue.html -share/doc/blitz/Index-prologue.html -share/doc/blitz/Index.html -share/doc/blitz/arrays-ctors.yo -share/doc/blitz/arrays-debug.yo -share/doc/blitz/arrays-expr.yo -share/doc/blitz/arrays-globals.yo -share/doc/blitz/arrays-indirect.yo -share/doc/blitz/arrays-intro.yo -share/doc/blitz/arrays-io.yo -share/doc/blitz/arrays-members.yo -share/doc/blitz/arrays-multi.yo -share/doc/blitz/arrays-slicing.yo -share/doc/blitz/arrays-stencils.yo -share/doc/blitz/arrays-storage.yo -share/doc/blitz/arrays-types -share/doc/blitz/arrays-usertype.yo -share/doc/blitz/blitz.gif -share/doc/blitz/blitz.html -share/doc/blitz/blitz.ps -share/doc/blitz/blitz.yo -share/doc/blitz/blitz01.html -share/doc/blitz/blitz02.html -share/doc/blitz/blitz03.html -share/doc/blitz/blitz04.html -share/doc/blitz/blitz05.html -share/doc/blitz/blitz06.html -share/doc/blitz/blitz07.html -share/doc/blitz/blitz08.html -share/doc/blitz/blitz09.html -share/doc/blitz/blitz10.html -share/doc/blitz/blitzmacros.yo -share/doc/blitz/blitztiny.jpg -share/doc/blitz/classref.html -share/doc/blitz/compiling.yo -share/doc/blitz/constants.yo -share/doc/blitz/download.yo -share/doc/blitz/examples/cast.cpp -share/doc/blitz/examples/debug.cpp -share/doc/blitz/examples/dump.cpp -share/doc/blitz/examples/fixed.cpp -share/doc/blitz/examples/outer.cpp -share/doc/blitz/examples/outer.log -share/doc/blitz/examples/output.cpp -share/doc/blitz/examples/output.log -share/doc/blitz/examples/range.cpp -share/doc/blitz/examples/simple.cpp -share/doc/blitz/examples/simple.log -share/doc/blitz/examples/slicing.cpp -share/doc/blitz/examples/storage.cpp -share/doc/blitz/examples/storage.log -share/doc/blitz/examples/strideslice.cpp -share/doc/blitz/examples/xor.cpp -share/doc/blitz/faq.yo -share/doc/blitz/help.yo -share/doc/blitz/index.html -share/doc/blitz/index.m4 -share/doc/blitz/indirect.eps -share/doc/blitz/indirect.fig -share/doc/blitz/indirect.gif -share/doc/blitz/install.yo -share/doc/blitz/legal.yo -share/doc/blitz/makeHTMLIndex.cpp -share/doc/blitz/makedatestring -share/doc/blitz/makeindex -share/doc/blitz/numinquire.yo -share/doc/blitz/parallel.yo -share/doc/blitz/platforms.yo -share/doc/blitz/preview -share/doc/blitz/proc2e.sty -share/doc/blitz/random.yo -share/doc/blitz/range.html -share/doc/blitz/sinsoid.eps -share/doc/blitz/sinsoid.gif -share/doc/blitz/slice.eps -share/doc/blitz/slice.fig -share/doc/blitz/slice.gif -share/doc/blitz/stencils/Laplacian2D.yo -share/doc/blitz/stencils/Laplacian2D4.yo -share/doc/blitz/stencils/backward11.yo -share/doc/blitz/stencils/backward12.yo -share/doc/blitz/stencils/backward21.yo -share/doc/blitz/stencils/backward22.yo -share/doc/blitz/stencils/backward31.yo -share/doc/blitz/stencils/backward32.yo -share/doc/blitz/stencils/backward41.yo -share/doc/blitz/stencils/backward42.yo -share/doc/blitz/stencils/central12.yo -share/doc/blitz/stencils/central14.yo -share/doc/blitz/stencils/central22.yo -share/doc/blitz/stencils/central24.yo -share/doc/blitz/stencils/central32.yo -share/doc/blitz/stencils/central34.yo -share/doc/blitz/stencils/central42.yo -share/doc/blitz/stencils/central44.yo -share/doc/blitz/stencils/dump-stencil.cpp -share/doc/blitz/stencils/dump1D -share/doc/blitz/stencils/dumpdiffs -share/doc/blitz/stencils/dumpst -share/doc/blitz/stencils/forward11.yo -share/doc/blitz/stencils/forward12.yo -share/doc/blitz/stencils/forward21.yo -share/doc/blitz/stencils/forward22.yo -share/doc/blitz/stencils/forward31.yo -share/doc/blitz/stencils/forward32.yo -share/doc/blitz/stencils/forward41.yo -share/doc/blitz/stencils/forward42.yo -share/doc/blitz/strideslice.eps -share/doc/blitz/strideslice.fig -share/doc/blitz/strideslice.gif -share/doc/blitz/tau.yo -share/doc/blitz/tensor1.eps -share/doc/blitz/tensor1.fig -share/doc/blitz/tensor1.gif -share/doc/blitz/tinymatrix.yo -share/doc/blitz/tinyvector.yo -share/doc/blitz/tuning.yo -share/doc/blitz/update -share/doc/blitz/vector.html -@dirrm share/doc/blitz/examples -@dirrm share/doc/blitz/stencils -@dirrm share/doc/blitz +%%PORTDOCS%%share/doc/blitz/Frames.html +%%PORTDOCS%%share/doc/blitz/INDEX.html +%%PORTDOCS%%share/doc/blitz/Index-epilogue.html +%%PORTDOCS%%share/doc/blitz/Index-prologue.html +%%PORTDOCS%%share/doc/blitz/Index.html +%%PORTDOCS%%share/doc/blitz/arrays-ctors.yo +%%PORTDOCS%%share/doc/blitz/arrays-debug.yo +%%PORTDOCS%%share/doc/blitz/arrays-expr.yo +%%PORTDOCS%%share/doc/blitz/arrays-globals.yo +%%PORTDOCS%%share/doc/blitz/arrays-indirect.yo +%%PORTDOCS%%share/doc/blitz/arrays-intro.yo +%%PORTDOCS%%share/doc/blitz/arrays-io.yo +%%PORTDOCS%%share/doc/blitz/arrays-members.yo +%%PORTDOCS%%share/doc/blitz/arrays-multi.yo +%%PORTDOCS%%share/doc/blitz/arrays-slicing.yo +%%PORTDOCS%%share/doc/blitz/arrays-stencils.yo +%%PORTDOCS%%share/doc/blitz/arrays-storage.yo +%%PORTDOCS%%share/doc/blitz/arrays-types +%%PORTDOCS%%share/doc/blitz/arrays-usertype.yo +%%PORTDOCS%%share/doc/blitz/blitz.gif +%%PORTDOCS%%share/doc/blitz/blitz.html +%%PORTDOCS%%share/doc/blitz/blitz.ps +%%PORTDOCS%%share/doc/blitz/blitz.yo +%%PORTDOCS%%share/doc/blitz/blitz01.html +%%PORTDOCS%%share/doc/blitz/blitz02.html +%%PORTDOCS%%share/doc/blitz/blitz03.html +%%PORTDOCS%%share/doc/blitz/blitz04.html +%%PORTDOCS%%share/doc/blitz/blitz05.html +%%PORTDOCS%%share/doc/blitz/blitz06.html +%%PORTDOCS%%share/doc/blitz/blitz07.html +%%PORTDOCS%%share/doc/blitz/blitz08.html +%%PORTDOCS%%share/doc/blitz/blitz09.html +%%PORTDOCS%%share/doc/blitz/blitz10.html +%%PORTDOCS%%share/doc/blitz/blitzmacros.yo +%%PORTDOCS%%share/doc/blitz/blitztiny.jpg +%%PORTDOCS%%share/doc/blitz/classref.html +%%PORTDOCS%%share/doc/blitz/compiling.yo +%%PORTDOCS%%share/doc/blitz/constants.yo +%%PORTDOCS%%share/doc/blitz/download.yo +%%PORTDOCS%%share/doc/blitz/examples/cast.cpp +%%PORTDOCS%%share/doc/blitz/examples/debug.cpp +%%PORTDOCS%%share/doc/blitz/examples/dump.cpp +%%PORTDOCS%%share/doc/blitz/examples/fixed.cpp +%%PORTDOCS%%share/doc/blitz/examples/outer.cpp +%%PORTDOCS%%share/doc/blitz/examples/outer.log +%%PORTDOCS%%share/doc/blitz/examples/output.cpp +%%PORTDOCS%%share/doc/blitz/examples/output.log +%%PORTDOCS%%share/doc/blitz/examples/range.cpp +%%PORTDOCS%%share/doc/blitz/examples/simple.cpp +%%PORTDOCS%%share/doc/blitz/examples/simple.log +%%PORTDOCS%%share/doc/blitz/examples/slicing.cpp +%%PORTDOCS%%share/doc/blitz/examples/storage.cpp +%%PORTDOCS%%share/doc/blitz/examples/storage.log +%%PORTDOCS%%share/doc/blitz/examples/strideslice.cpp +%%PORTDOCS%%share/doc/blitz/examples/xor.cpp +%%PORTDOCS%%share/doc/blitz/faq.yo +%%PORTDOCS%%share/doc/blitz/help.yo +%%PORTDOCS%%share/doc/blitz/index.html +%%PORTDOCS%%share/doc/blitz/index.m4 +%%PORTDOCS%%share/doc/blitz/indirect.eps +%%PORTDOCS%%share/doc/blitz/indirect.fig +%%PORTDOCS%%share/doc/blitz/indirect.gif +%%PORTDOCS%%share/doc/blitz/install.yo +%%PORTDOCS%%share/doc/blitz/legal.yo +%%PORTDOCS%%share/doc/blitz/makeHTMLIndex.cpp +%%PORTDOCS%%share/doc/blitz/makedatestring +%%PORTDOCS%%share/doc/blitz/makeindex +%%PORTDOCS%%share/doc/blitz/numinquire.yo +%%PORTDOCS%%share/doc/blitz/parallel.yo +%%PORTDOCS%%share/doc/blitz/platforms.yo +%%PORTDOCS%%share/doc/blitz/preview +%%PORTDOCS%%share/doc/blitz/proc2e.sty +%%PORTDOCS%%share/doc/blitz/random.yo +%%PORTDOCS%%share/doc/blitz/range.html +%%PORTDOCS%%share/doc/blitz/sinsoid.eps +%%PORTDOCS%%share/doc/blitz/sinsoid.gif +%%PORTDOCS%%share/doc/blitz/slice.eps +%%PORTDOCS%%share/doc/blitz/slice.fig +%%PORTDOCS%%share/doc/blitz/slice.gif +%%PORTDOCS%%share/doc/blitz/stencils/Laplacian2D.yo +%%PORTDOCS%%share/doc/blitz/stencils/Laplacian2D4.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward11.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward12.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward21.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward22.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward31.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward32.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward41.yo +%%PORTDOCS%%share/doc/blitz/stencils/backward42.yo +%%PORTDOCS%%share/doc/blitz/stencils/central12.yo +%%PORTDOCS%%share/doc/blitz/stencils/central14.yo +%%PORTDOCS%%share/doc/blitz/stencils/central22.yo +%%PORTDOCS%%share/doc/blitz/stencils/central24.yo +%%PORTDOCS%%share/doc/blitz/stencils/central32.yo +%%PORTDOCS%%share/doc/blitz/stencils/central34.yo +%%PORTDOCS%%share/doc/blitz/stencils/central42.yo +%%PORTDOCS%%share/doc/blitz/stencils/central44.yo +%%PORTDOCS%%share/doc/blitz/stencils/dump-stencil.cpp +%%PORTDOCS%%share/doc/blitz/stencils/dump1D +%%PORTDOCS%%share/doc/blitz/stencils/dumpdiffs +%%PORTDOCS%%share/doc/blitz/stencils/dumpst +%%PORTDOCS%%share/doc/blitz/stencils/forward11.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward12.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward21.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward22.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward31.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward32.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward41.yo +%%PORTDOCS%%share/doc/blitz/stencils/forward42.yo +%%PORTDOCS%%share/doc/blitz/strideslice.eps +%%PORTDOCS%%share/doc/blitz/strideslice.fig +%%PORTDOCS%%share/doc/blitz/strideslice.gif +%%PORTDOCS%%share/doc/blitz/tau.yo +%%PORTDOCS%%share/doc/blitz/tensor1.eps +%%PORTDOCS%%share/doc/blitz/tensor1.fig +%%PORTDOCS%%share/doc/blitz/tensor1.gif +%%PORTDOCS%%share/doc/blitz/tinymatrix.yo +%%PORTDOCS%%share/doc/blitz/tinyvector.yo +%%PORTDOCS%%share/doc/blitz/tuning.yo +%%PORTDOCS%%share/doc/blitz/update +%%PORTDOCS%%share/doc/blitz/vector.html +%%PORTDOCS%%@dirrm share/doc/blitz/stencils +%%PORTDOCS%%@dirrm share/doc/blitz/examples +%%PORTDOCS%%@dirrm share/doc/blitz +@dirrm include/random +@dirrm include/blitz/meta +@dirrm include/blitz/generate +@dirrm include/blitz/array +@dirrm include/blitz |