diff options
author | nemoliu <nemoliu@FreeBSD.org> | 2010-01-18 13:04:20 +0800 |
---|---|---|
committer | nemoliu <nemoliu@FreeBSD.org> | 2010-01-18 13:04:20 +0800 |
commit | f8cf9a2774c7996e6503e94ba7b4ede689f6262c (patch) | |
tree | ff0af9df37466a8e51b685e0b2a7d31e37de923c /cad/gmsh | |
parent | d1f365e0c71cd2ffd887c1a2e32f5f56ac7cf711 (diff) | |
download | freebsd-ports-gnome-f8cf9a2774c7996e6503e94ba7b4ede689f6262c.tar.gz freebsd-ports-gnome-f8cf9a2774c7996e6503e94ba7b4ede689f6262c.tar.zst freebsd-ports-gnome-f8cf9a2774c7996e6503e94ba7b4ede689f6262c.zip |
- Fix build error on amd64.
Report by: QAT@
PR: ports/142926
Submitted by: Stephen Montgomery-Smith <stephen@missouri.edu> (maintainer)
Diffstat (limited to 'cad/gmsh')
-rw-r--r-- | cad/gmsh/Makefile | 1 | ||||
-rw-r--r-- | cad/gmsh/files/patch-CMakeLists.txt | 20 |
2 files changed, 19 insertions, 2 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile index d32a3cf01522..18e1087cfb33 100644 --- a/cad/gmsh/Makefile +++ b/cad/gmsh/Makefile @@ -7,6 +7,7 @@ PORTNAME= gmsh PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.geuz.org/gmsh/src/ \ http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ diff --git a/cad/gmsh/files/patch-CMakeLists.txt b/cad/gmsh/files/patch-CMakeLists.txt index af0b6454ebf7..2e0e6b18acc6 100644 --- a/cad/gmsh/files/patch-CMakeLists.txt +++ b/cad/gmsh/files/patch-CMakeLists.txt @@ -1,5 +1,5 @@ --- CMakeLists.txt.orig 2009-09-21 13:54:49.000000000 -0500 -+++ CMakeLists.txt 2010-01-02 16:31:27.000000000 -0600 ++++ CMakeLists.txt 2010-01-17 21:14:51.000000000 -0600 @@ -41,6 +41,7 @@ option(ENABLE_TAUCS "Enable Taucs linear algebra solver" ON) option(ENABLE_TETGEN "Enable Tetgen mesh generator" ON) @@ -42,7 +42,23 @@ if(OCC_INC) set(HAVE_OCC TRUE) list(APPEND CONFIG_OPTIONS "OpenCascade") -@@ -762,13 +767,15 @@ +@@ -654,15 +659,6 @@ + if(HAVE_LAPACK AND LAPACK_FLAGS) + set_target_properties(shared PROPERTIES LINK_FLAGS ${LAPACK_FLAGS}) + endif(HAVE_LAPACK AND LAPACK_FLAGS) +-if(HAVE_FLTK) +- target_link_libraries(shared ${FLTK_LIBRARIES} ${EXTERNAL_LIBRARIES} +- ${OPENGL_LIBRARIES} ${LAPACK_LIBRARIES}) +-elseif(HAVE_OPENGL) +- target_link_libraries(shared ${EXTERNAL_LIBRARIES} ${OPENGL_LIBRARIES} +- ${LAPACK_LIBRARIES}) +-else(HAVE_FLTK) +- target_link_libraries(shared ${EXTERNAL_LIBRARIES} ${LAPACK_LIBRARIES}) +-endif(HAVE_FLTK) + + # binary targets + if(HAVE_FLTK) +@@ -762,13 +758,15 @@ install(TARGETS gmsh DESTINATION ${GMSH_BIN} OPTIONAL) install(TARGETS lib shared DESTINATION lib OPTIONAL) install(FILES ${GMSH_API} DESTINATION include/gmsh) |