mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
math/cadical: fix build on GCC architectures
Use | instead of , in the sed command to workaround for -Wl,rpath in CXXFLAGS. MFH: 2020Q3 (fix build blanket)
This commit is contained in:
parent
141337504d
commit
ef90c63c4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545197
2 changed files with 10 additions and 3 deletions
|
@ -13,8 +13,6 @@ COMMENT= Simple CDCL satisfiability solver
|
|||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_FreeBSD_12_powerpc64= fails to build: sed: 1: "s,@CXXFLAGS@,-O2 -pipe ...": bad flag in substitute command: '-'
|
||||
|
||||
USES= compiler:c++0x gmake tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- configure.orig 2019-12-04 05:29:57 UTC
|
||||
--- configure.orig 2019-07-12 20:22:02 UTC
|
||||
+++ configure
|
||||
@@ -154,7 +154,7 @@ do
|
||||
CXXFLAGS="`expr \"$1\" : 'CXXFLAGS=\(.*\)'`"
|
||||
|
@ -9,3 +9,12 @@
|
|||
|
||||
esac
|
||||
shift
|
||||
@@ -396,7 +396,7 @@ sed \
|
||||
-e "2c\\
|
||||
# This 'makefile' is generated from '../makefile.in'." \
|
||||
-e "s,@CXX@,$CXX," \
|
||||
--e "s,@CXXFLAGS@,$CXXFLAGS," \
|
||||
+-e "s|@CXXFLAGS@|$CXXFLAGS|" \
|
||||
-e "s,@MAKEFLAGS@,$MAKEFLAGS," \
|
||||
../makefile.in > makefile
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue