FreeBSD Bugzilla – Attachment 227686 Details for
Bug 258237
math/nauty: Update to 27r3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
nauty.patch (text/plain), 6.62 KB, created by
Yuri Victorovich
on 2021-09-05 16:02:04 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2021-09-05 16:02:04 UTC
Size:
6.62 KB
patch
obsolete
>diff --git a/math/nauty/Makefile b/math/nauty/Makefile >index d2ce334366f6..8538cc39a9f1 100644 >--- a/math/nauty/Makefile >+++ b/math/nauty/Makefile >@@ -1,51 +1,67 @@ > # Created by: bremner@unb.ca > > PORTNAME= nauty >-PORTVERSION= 27r1 >-PORTREVISION= 3 >+PORTVERSION= 27r3 > CATEGORIES= math > MASTER_SITES= https://users.cecs.anu.edu.au/~bdm/nauty/ > DISTNAME= ${PORTNAME}${PORTVERSION} > > MAINTAINER= moritz@schmi.tt >-COMMENT= Nauty & Traces are programs for computing graph automorphisms >+COMMENT= Nauty & Traces are programs for computing graph automorphism > > LICENSE= APACHE20 > > USES= gmake > > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --enable-tls # math/libnormaliz requires nauty with tls >+CONFIGURE_ARGS= --enable-tls # this makes nauty thread-safe, math/libnormaliz requires nauty with tls > > MAKEFILE= makefile >+MAKE_ARGS= includedir=${PREFIX}/include/${PORTNAME} # place headers into a dedicated directory > > TEST_TARGET= check > >-CFLAGS+= -fPIC >+OPTIONS_DEFINE= DOCS NATIVE > >-OPTIONS_DEFINE= DOCS >+NATIVE_DESC= Build with native optimizations (-march=native, etc) >+NATIVE_CONFIGURE_ON= --disable-generic --enable-clz --enable-popcnt >+NATIVE_CONFIGURE_OFF= --enable-generic --disable-clz --disable-popcnt > >-post-build: >- @cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnauty.so \ >- gtnauty.o gtools.o gutil1.o gutil2.o naugraph.o naugroup.o naurng.o nausparse.o nautil.o nautinv.o \ >- naututil.o nauty.o nautycliquer.o schreier.o traces.o >+post-build: # build shared libraries: based on how static libraries are created >+ # rebuild .o files with -fPIC >+ @cd ${WRKSRC} ; \ >+ objects=$$(ls *.o) ; \ >+ ${RM} $${objects} ; \ >+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} FREEBSD_EXTRA_CFLAGS="-fPIC" $${objects} >+ # build libraries >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnauty.so -Wl,-soname,libnauty.so \ >+ nauty.o nautil.o nausparse.o naugraph.o schreier.o naurng.o traces.o gtools.o naututil.o \ >+ nautinv.o gutil1.o gutil2.o gtnauty.o naugroup.o nautycliquer.o >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnauty1.so -Wl,-soname,libnauty1.so \ >+ nauty1.o nautil1.o nausparse.o naugraph1.o schreier.o naurng.o traces.o gtools.o naututil1.o \ >+ nautinv1.o gutil1.o gutil2.o gtnauty.o naugroup.o nautycliquer.o >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnautyW.so -Wl,-soname,libnautyW.so \ >+ nautyW.o nautilW.o nausparseW.o naugraphW.o schreierW.o naurng.o traces.o gtoolsW.o naututilW.o \ >+ nautinvW.o gutil1W.o gutil2W.o gtnautyW.o naugroupW.o nautycliquerW.o >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnautyW1.so -Wl,-soname,libnautyW1.so \ >+ nautyW1.o nautilW1.o nausparseW.o naugraphW1.o schreierW.o naurng.o traces.o gtoolsW.o naututilW1.o \ >+ nautinvW1.o gutil1W1.o gutil2W1.o gtnautyW1.o naugroupW.o nautycliquerW.o >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnautyL.so -Wl,-soname,libnautyL.so \ >+ nautyL.o nautilL.o nausparseL.o naugraphL.o schreierL.o naurng.o traces.o gtoolsL.o naututilL.o \ >+ nautinvL.o gutil1L.o gutil2L.o gtnautyL.o naugroupL.o nautycliquerL.o >+ cd ${WRKSRC} && ${CC} ${LDFLAGS} -shared -o libnautyL1.so -Wl,-soname,libnautyL1.so \ >+ nautyL1.o nautilL1.o nausparseL.o naugraphL1.o schreierL.o naurng.o traces.o gtoolsL.o naututilL1.o \ >+ nautinvL1.o gutil1L1.o gutil2L1.o gtnautyL1.o naugroupL.o nautycliquerL.o > >-do-install: >- ${MKDIR} ${STAGEDIR}${PREFIX}/include/nauty >-.for h in nauty.h nautycliquer.h nausparse.h traces.h naugroup.h >- ${INSTALL_DATA} ${WRKSRC}/${h} ${STAGEDIR}${PREFIX}/include/nauty >-.endfor >- # Do not use ${INSTALL_LIB} to strip the library! >- ${INSTALL_DATA} ${WRKSRC}/nauty.a ${STAGEDIR}${PREFIX}/lib/libnauty.a >- ${INSTALL_LIB} ${WRKSRC}/libnauty.so ${STAGEDIR}${PREFIX}/lib >-.for e in \ >- NRswitchg addedgeg amtog assembleg biplabg catg complg converseg copyg countg \ >- cubhamg deledgeg delptg directg dreadnaut dretodot dretog edgetransg genbg genbgL \ >- geng gengL genquarticg genrang genspecialg gentourng gentreeg hamheuristic labelg linegraphg \ >- listg multig newedgeg pickg planarg ranlabg shortg showg subdivideg twohamg \ >- underlyingg vcolg watercluster2 >- ${INSTALL_PROGRAM} ${WRKSRC}/${e} ${STAGEDIR}${PREFIX}/bin >+post-install: >+ # install shared libraries >+.for l in libnauty.so libnauty1.so libnautyW.so libnautyW1.so libnautyL.so libnautyL1.so >+ ${INSTALL_LIB} ${WRKSRC}/${l} ${STAGEDIR}${PREFIX}/lib > .endfor >+ # correct the include path in .pc files >+ @${REINPLACE_CMD} -i '' -e 's|-I$${includedir}|&/${PORTNAME}|' ${STAGEDIR}${PREFIX}/libdata/pkgconfig/*.pc >+ # strip executables >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* > > do-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >diff --git a/math/nauty/distinfo b/math/nauty/distinfo >index ef813103aef8..cc840a0e25f0 100644 >--- a/math/nauty/distinfo >+++ b/math/nauty/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1601648114 >-SHA256 (nauty27r1.tar.gz) = 76ca5d196e402c83a987f90c28ff706bcc5a333bb4a8fbb979a62d3b99c34e77 >-SIZE (nauty27r1.tar.gz) = 3428473 >+TIMESTAMP = 1630783130 >+SHA256 (nauty27r3.tar.gz) = 4f0665b716a53f7a14ea2ae30059f23d064ce3fe4c12c013404ef6e1ee0b88c2 >+SIZE (nauty27r3.tar.gz) = 1721200 >diff --git a/math/nauty/files/patch-makefile.in b/math/nauty/files/patch-makefile.in >new file mode 100644 >index 000000000000..76dc49de9aac >--- /dev/null >+++ b/math/nauty/files/patch-makefile.in >@@ -0,0 +1,13 @@ >+- allow to add additional CFLAGS to build shared libraries >+ >+--- makefile.in.orig 2021-09-03 17:45:35 UTC >++++ makefile.in >+@@ -3,7 +3,7 @@ >+ >+ SHELL=@SHELL@ >+ CC=@CC@ >+-CFLAGS=@CFLAGS@ @MORECFLAGS@ >++CFLAGS=@CFLAGS@ @MORECFLAGS@ ${FREEBSD_EXTRA_CFLAGS} >+ SAFECFLAGS=@CFLAGS@ >+ LDFLAGS=@LDFLAGS@ @LIBS@ >+ THREADLIB=@threadlib@ >diff --git a/math/nauty/pkg-plist b/math/nauty/pkg-plist >index 0ad268c2c22b..ef85048ffd07 100644 >--- a/math/nauty/pkg-plist >+++ b/math/nauty/pkg-plist >@@ -30,6 +30,7 @@ bin/labelg > bin/linegraphg > bin/listg > bin/multig >+bin/nbrhoodg > bin/newedgeg > bin/pickg > bin/planarg >@@ -41,11 +42,36 @@ bin/twohamg > bin/underlyingg > bin/vcolg > bin/watercluster2 >+include/nauty/gtools.h >+include/nauty/gutils.h > include/nauty/naugroup.h >+include/nauty/naugstrings.h >+include/nauty/naurng.h > include/nauty/nausparse.h >+include/nauty/nautinv.h >+include/nauty/naututil.h > include/nauty/nauty.h > include/nauty/nautycliquer.h >+include/nauty/planarity.h >+include/nauty/quarticirred28.h >+include/nauty/schreier.h > include/nauty/traces.h > lib/libnauty.a > lib/libnauty.so >+lib/libnauty1.a >+lib/libnauty1.so >+lib/libnautyL.a >+lib/libnautyL.so >+lib/libnautyL1.a >+lib/libnautyL1.so >+lib/libnautyW.a >+lib/libnautyW.so >+lib/libnautyW1.a >+lib/libnautyW1.so >+libdata/pkgconfig/nauty.pc >+libdata/pkgconfig/nauty1.pc >+libdata/pkgconfig/nautyL.pc >+libdata/pkgconfig/nautyL1.pc >+libdata/pkgconfig/nautyW.pc >+libdata/pkgconfig/nautyW1.pc > %%PORTDOCS%%%%DOCSDIR%%/nug27.pdf
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:
yuri
:
maintainer-approval?
(
moritz
)
Actions:
View
|
Diff
Attachments on
bug 258237
:
227651
|
227652
| 227686