diff options
author | maho <maho@FreeBSD.org> | 2008-02-20 12:30:20 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2008-02-20 12:30:20 +0800 |
commit | 7f3ad4b0bdc17916ab65344e570c96a702c67db5 (patch) | |
tree | fcdda4716de506c5f59a4c2ff5dd812054106c4d /editors | |
parent | 2bea521f8f0e0e0cc9e0f72f06ff2310eb123162 (diff) | |
download | freebsd-ports-gnome-7f3ad4b0bdc17916ab65344e570c96a702c67db5.tar.gz freebsd-ports-gnome-7f3ad4b0bdc17916ab65344e570c96a702c67db5.tar.zst freebsd-ports-gnome-7f3ad4b0bdc17916ab65344e570c96a702c67db5.zip |
Build fix on amd64.
Submitted by: pav via pointyhat
Diffstat (limited to 'editors')
4 files changed, 16 insertions, 16 deletions
diff --git a/editors/openoffice-3-devel/files/patch-i85972 b/editors/openoffice-3-devel/files/patch-i85972 index 6b47bcd9a479..4b24c9d2ca7d 100644 --- a/editors/openoffice-3-devel/files/patch-i85972 +++ b/editors/openoffice-3-devel/files/patch-i85972 @@ -20,7 +20,7 @@ diff -u -r1.2 lp_solve_5.5.patch +! def= +! so=yes +! -+! opts='-O3' ++! opts='-O3 -DINTEGERTIME' +! +! $CC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` @@ -28,8 +28,8 @@ diff -u -r1.2 lp_solve_5.5.patch +! +! if [ "$so" != "" ] +! then -+! $CC -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -lcompat ++! $CC -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src ++! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm +! fi +! +! rm *.o 2>/dev/null @@ -54,7 +54,7 @@ diff -u -r1.3 makefile.mk BUILD_ACTION=sh ccc.solaris .ELSE +.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=sh ccc.freebsd ++BUILD_ACTION=sh -x ccc.freebsd +OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so +.ELSE BUILD_ACTION=sh ccc diff --git a/editors/openoffice.org-2-devel/files/patch-i85972 b/editors/openoffice.org-2-devel/files/patch-i85972 index 6b47bcd9a479..4b24c9d2ca7d 100644 --- a/editors/openoffice.org-2-devel/files/patch-i85972 +++ b/editors/openoffice.org-2-devel/files/patch-i85972 @@ -20,7 +20,7 @@ diff -u -r1.2 lp_solve_5.5.patch +! def= +! so=yes +! -+! opts='-O3' ++! opts='-O3 -DINTEGERTIME' +! +! $CC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` @@ -28,8 +28,8 @@ diff -u -r1.2 lp_solve_5.5.patch +! +! if [ "$so" != "" ] +! then -+! $CC -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -lcompat ++! $CC -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src ++! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm +! fi +! +! rm *.o 2>/dev/null @@ -54,7 +54,7 @@ diff -u -r1.3 makefile.mk BUILD_ACTION=sh ccc.solaris .ELSE +.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=sh ccc.freebsd ++BUILD_ACTION=sh -x ccc.freebsd +OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so +.ELSE BUILD_ACTION=sh ccc diff --git a/editors/openoffice.org-3-devel/files/patch-i85972 b/editors/openoffice.org-3-devel/files/patch-i85972 index 6b47bcd9a479..4b24c9d2ca7d 100644 --- a/editors/openoffice.org-3-devel/files/patch-i85972 +++ b/editors/openoffice.org-3-devel/files/patch-i85972 @@ -20,7 +20,7 @@ diff -u -r1.2 lp_solve_5.5.patch +! def= +! so=yes +! -+! opts='-O3' ++! opts='-O3 -DINTEGERTIME' +! +! $CC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` @@ -28,8 +28,8 @@ diff -u -r1.2 lp_solve_5.5.patch +! +! if [ "$so" != "" ] +! then -+! $CC -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -lcompat ++! $CC -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src ++! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm +! fi +! +! rm *.o 2>/dev/null @@ -54,7 +54,7 @@ diff -u -r1.3 makefile.mk BUILD_ACTION=sh ccc.solaris .ELSE +.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=sh ccc.freebsd ++BUILD_ACTION=sh -x ccc.freebsd +OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so +.ELSE BUILD_ACTION=sh ccc diff --git a/editors/openoffice.org-vcltesttool/files/patch-i85972 b/editors/openoffice.org-vcltesttool/files/patch-i85972 index 6b47bcd9a479..4b24c9d2ca7d 100644 --- a/editors/openoffice.org-vcltesttool/files/patch-i85972 +++ b/editors/openoffice.org-vcltesttool/files/patch-i85972 @@ -20,7 +20,7 @@ diff -u -r1.2 lp_solve_5.5.patch +! def= +! so=yes +! -+! opts='-O3' ++! opts='-O3 -DINTEGERTIME' +! +! $CC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` @@ -28,8 +28,8 @@ diff -u -r1.2 lp_solve_5.5.patch +! +! if [ "$so" != "" ] +! then -+! $CC -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -+! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -lcompat ++! $CC -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src ++! $CC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm +! fi +! +! rm *.o 2>/dev/null @@ -54,7 +54,7 @@ diff -u -r1.3 makefile.mk BUILD_ACTION=sh ccc.solaris .ELSE +.IF "$(OS)"=="FREEBSD" -+BUILD_ACTION=sh ccc.freebsd ++BUILD_ACTION=sh -x ccc.freebsd +OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so +.ELSE BUILD_ACTION=sh ccc |