diff options
author | thierry <thierry@FreeBSD.org> | 2010-02-16 04:11:14 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2010-02-16 04:11:14 +0800 |
commit | 3d49ca39fa749557f77ef5e0ced7b59603d98ded (patch) | |
tree | 65c4894e40f7719fce861c0bc02cc3a5e937e175 /cad/scotch | |
parent | 8525c85572df93c87f9e60e07b8b6cfa7ae6cff6 (diff) | |
download | freebsd-ports-gnome-3d49ca39fa749557f77ef5e0ced7b59603d98ded.tar.gz freebsd-ports-gnome-3d49ca39fa749557f77ef5e0ced7b59603d98ded.tar.zst freebsd-ports-gnome-3d49ca39fa749557f77ef5e0ced7b59603d98ded.zip |
Adding -fPIC to fix build of cad/salome.
Submitted by: Stas Timokhin <devel (at) stasyan.com>
Feature safe: yes
Diffstat (limited to 'cad/scotch')
-rw-r--r-- | cad/scotch/Makefile | 2 | ||||
-rw-r--r-- | cad/scotch/files/patch-src_Make.inc_Makefile.inc.freebsd | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/cad/scotch/Makefile b/cad/scotch/Makefile index 31ee7af7e366..df7a7cecf181 100644 --- a/cad/scotch/Makefile +++ b/cad/scotch/Makefile @@ -7,7 +7,7 @@ PORTNAME= scotch PORTVERSION= 5.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad science MASTER_SITES= http://gforge.inria.fr/frs/download.php/3795/ DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/cad/scotch/files/patch-src_Make.inc_Makefile.inc.freebsd b/cad/scotch/files/patch-src_Make.inc_Makefile.inc.freebsd new file mode 100644 index 000000000000..73ed345cebed --- /dev/null +++ b/cad/scotch/files/patch-src_Make.inc_Makefile.inc.freebsd @@ -0,0 +1,13 @@ +--- src/Make.inc/Makefile.inc.freebsd.orig 2010-02-15 11:04:45.000000000 +0600 ++++ src/Make.inc/Makefile.inc.freebsd 2010-02-15 11:05:03.000000000 +0600 +@@ -7,8 +7,8 @@ + ARFLAGS = -ruv + CAT = cat + CCP = mpicc +-CFLAGS += -I. -I../../bin -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD +-LDFLAGS += -L../../bin -lm ++CFLAGS += -I. -I../../bin -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -fPIC ++LDFLAGS += -L../../bin -lm -fPIC + CP = cp + LEX = flex + MV = mv |