FreeBSD Bugzilla – Attachment 208250 Details for
Bug 241203
math/metis: take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
metis - adoption
metis.diff (text/plain), 3.12 KB, created by
Lorenzo Salvadore
on 2019-10-11 17:54:12 UTC
(
hide
)
Description:
metis - adoption
Filename:
MIME Type:
Creator:
Lorenzo Salvadore
Created:
2019-10-11 17:54:12 UTC
Size:
3.12 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 514091) >+++ Makefile (working copy) >@@ -7,7 +7,7 @@ > CATEGORIES= math > MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= phascolarctos@protonmail.ch > COMMENT= Package for unstructured graph partitioning > > LICENSE= APACHE20 >@@ -16,49 +16,39 @@ > > CONFLICTS= metis4-4* metis-edf-[0-9]* > >+PORTDOCS= manual.pdf >+ >+BINS= cmpfillin gpmetis graphchk m2gmetis mpmetis ndmetis >+SHLIB_MAJOR?= 2 >+ > OPTIONS_DEFINE= OPENMP SHARED STATIC DOCS >+OPTIONS_DEFAULT= SHARED STATIC >+OPTIONS_SUB= yes > > OPENMP_DESC= multithreading via OpenMP >-#PROFILE_DESC= profiling libraries > SHARED_DESC= shared library and dynamically-linked executables > STATIC_DESC= libmetis archive > >-OPTIONS_DEFAULT= SHARED STATIC >+OPENMP_CMAKE_BOOL= OPENMP >+OPENMP_USES= compiler:openmp > >-BINS= cmpfillin gpmetis graphchk m2gmetis mpmetis ndmetis >+SHARED_USE= LDCONFIG=yes > >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:MOPENMP} >-USES+= compiler:openmp >-CMAKE_ARGS+= -DOPENMP=1 >-.endif >- >-.if ${PORT_OPTIONS:MSHARED} >+CMAKE_ARGS_SHARED= -DSHARED=1 -DSHLIB_MAJOR="${SHLIB_MAJOR}" > ALL_TARGET_SHARED= all >-CMAKE_ARGS_SHARED= -DSHARED=1 >-PLIST_SUB+= SHARED="" >-.if ${ARCH} == "sparc64" >-SHARED_FLAGS?= -fPIC >-.else >-SHARED_FLAGS?= -fpic >-.endif >-SHLIB_MAJOR?= 2 >-CMAKE_ARGS+= -DSHLIB_MAJOR="${SHLIB_MAJOR}" >-USE_LDCONFIG= yes > WRKSRC_SHARED= ${WRKSRC}_SHARED > INSTALL_WRKSRC_SHARED= ${WRKSRC_SHARED} >-.else >-PLIST_SUB+= SHARED="@comment " >-.endif > >-.if ${PORT_OPTIONS:MSTATIC} > ALL_TARGET_STATIC= metis >-PLIST_SUB+= STATIC="" > WRKSRC_STATIC= ${WRKSRC} > INSTALL_WRKSRC_STATIC= ${WRKSRC_STATIC}/libmetis >+ >+.include <bsd.port.options.mk> >+ >+.if ${ARCH} == "sparc64" >+CFLAGS+= -fPIC > .else >-PLIST_SUB+= STATIC="@comment " >+CFLAGS+= -fpic > .endif > > pre-configure: >@@ -72,14 +62,12 @@ > 's|IDXTYPEWIDTH 32|IDXTYPEWIDTH 64|' \ > ${WRKSRC}/include/metis.h > .endif >-.for o in SHARED #PROFILE >-.if ${PORT_OPTIONS:M${o}} >- @${CP} -R ${WRKSRC} ${WRKSRC_${o}} >-.endif >-.endfor > >+pre-configure-SHARED-on: >+ @${CP} -R ${WRKSRC} ${WRKSRC_SHARED} >+ > do-configure: >-.for o in SHARED STATIC #PROFILE >+.for o in SHARED STATIC > .if ${PORT_OPTIONS:M${o}} > @${PRINTF} "\n\nConfiguring ${o}:\n\n\n" > @cd ${WRKSRC_${o}}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} \ >@@ -89,7 +77,7 @@ > .endfor > > do-build: >-.for o in SHARED STATIC #PROFILE >+.for o in SHARED STATIC > .if ${PORT_OPTIONS:M${o}} > @${PRINTF} "\n\nBuilding ${o}:\n\n\n" > @cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ >@@ -108,7 +96,7 @@ > cd ${WRKSRC_SHARED}/graphs ; ../programs/gpmetis ./4elt.graph 5 > > do-install: >-.for o in SHARED STATIC #PROFILE >+.for o in SHARED STATIC > .if ${PORT_OPTIONS:M${o}} > @${PRINTF} "\n\nInstalling ${o}:\n\n\n" > @cd ${INSTALL_WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ >@@ -116,12 +104,8 @@ > .endif > .endfor > >-.if ${PORT_OPTIONS:MDOCS} >-PORTDOCS= manual.pdf >- >-post-install: >+post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${STAGEDIR}${DOCSDIR} >-.endif > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
salvadore
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 241203
: 208250