aboutsummaryrefslogtreecommitdiff
path: root/math/metis/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2018-05-06 08:15:59 +0000
committerThierry Thomas <thierry@FreeBSD.org>2018-05-06 08:15:59 +0000
commit4291c7c5df8af253baf8c1583a76bf44d3185f86 (patch)
treed04c13f76ee81afafdf1bb71b955009214b68e5e /math/metis/Makefile
parent1dcd559cd57ca9e8fe0942dfebb16a5d2acafb75 (diff)
downloadports-4291c7c5df8af253baf8c1583a76bf44d3185f86.tar.gz
ports-4291c7c5df8af253baf8c1583a76bf44d3185f86.zip
Notes
Diffstat (limited to 'math/metis/Makefile')
-rw-r--r--math/metis/Makefile19
1 files changed, 2 insertions, 17 deletions
diff --git a/math/metis/Makefile b/math/metis/Makefile
index aba4a1819bbc..00a3483d8898 100644
--- a/math/metis/Makefile
+++ b/math/metis/Makefile
@@ -3,7 +3,7 @@
PORTNAME= metis
PORTVERSION= 5.1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
@@ -34,21 +34,6 @@ CMAKE_ARGS+= -DOPENMP=1
USE_GCC= any
.endif
-#.if ${PORT_OPTIONS:MPROFILE}
-#.if !exists(/usr/lib/libc_p.a)
-#IGNORE = : you have enabled the PROFILE option, but have not installed \
-# the base system profiling libraries
-#.endif
-#ALL_TARGET_PROFILE= metis
-#CMAKE_ARGS_PROFILE= -DGPROF=1
-#PLIST_SUB+= PROFILE=""
-##PROFILE_FLAGS ?= -pg
-#WRKSRC_PROFILE = ${WRKSRC}_PROFILE
-#INSTALL_WRKSRC_PROFILE = ${WRKSRC_PROFILE}/libmetis
-#.else
-#PLIST_SUB+= PROFILE="@comment "
-#.endif
-
.if ${PORT_OPTIONS:MSHARED}
ALL_TARGET_SHARED= all
CMAKE_ARGS_SHARED= -DSHARED=1
@@ -76,7 +61,7 @@ INSTALL_WRKSRC_STATIC= ${WRKSRC_STATIC}/libmetis
PLIST_SUB+= STATIC="@comment "
.endif
-post-patch:
+pre-configure:
@${REINPLACE_CMD} -e "/^# Add compiler flags/,/^$$/d" \
-e "/^check_include_file(execinfo.h/d" \
${WRKSRC}/GKlib/GKlibSystem.cmake