mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
This version of octave-forge doens't compile any more with the
good old gcc-2.95. The newly introduced xmlread-stuff requires >gcc-3.x. Maintainer doens't mark this port as broken, but set USE_GCC instead. Suggested by: Kay Lehmann <kay_lehmann@web.de>
This commit is contained in:
parent
334de2f1ea
commit
7938534b67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108861
1 changed files with 9 additions and 1 deletions
|
@ -22,6 +22,14 @@ USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
ALL_TARGET= # empty
|
ALL_TARGET= # empty
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
|
CONFIGURE_ARGS= --with-cc=${CC} \
|
||||||
|
--with-cxx=${CXX}
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 501000
|
||||||
|
USE_GCC=3.3
|
||||||
|
.endif
|
||||||
|
|
||||||
GNU_HOST= ${ARCH}-portbld-freebsd${OSREL}
|
GNU_HOST= ${ARCH}-portbld-freebsd${OSREL}
|
||||||
PLIST_SUB= OCTAVE_VERSION="`${LOCALBASE}/bin/octave-config -v`" GNU_HOST=${GNU_HOST}
|
PLIST_SUB= OCTAVE_VERSION="`${LOCALBASE}/bin/octave-config -v`" GNU_HOST=${GNU_HOST}
|
||||||
|
@ -32,4 +40,4 @@ post-configure:
|
||||||
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/main/sparse/buildtests.sh
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/main/sparse/buildtests.sh
|
||||||
@${REINPLACE_CMD} -e 's+#! /bin/sh+#! ${LOCALBASE}/bin/bash+g;' ${WRKSRC}/octinst.sh
|
@${REINPLACE_CMD} -e 's+#! /bin/sh+#! ${LOCALBASE}/bin/bash+g;' ${WRKSRC}/octinst.sh
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue