View | Details | Raw Unified | Return to bug 272657
Collapse All | Expand All

(-)b/math/nauty/Makefile (-8 / +11 lines)
Lines 1-10 Link Here
1
PORTNAME=	nauty
1
PORTNAME=	nauty
2
PORTVERSION=	2.8.6
2
DISTVERSION=	2.8.6
3
PORTREVISION=	1
3
PORTEPOCH=	1
4
PORTEPOCH=	1
4
CATEGORIES=	math
5
CATEGORIES=	math
5
MASTER_SITES=	https://users.cecs.anu.edu.au/~bdm/nauty/ \
6
MASTER_SITES=	https://users.cecs.anu.edu.au/~bdm/nauty/ \
6
		https://pallini.di.uniroma1.it/
7
		https://pallini.di.uniroma1.it/
7
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/g}
8
DISTNAME=	${PORTNAME}${DISTVERSION:S/./_/g}
8
9
9
MAINTAINER=	moritz@schmi.tt
10
MAINTAINER=	moritz@schmi.tt
10
COMMENT=	Nauty & Traces are programs for computing graph automorphism
11
COMMENT=	Nauty & Traces are programs for computing graph automorphism
Lines 15-32 LICENSE= APACHE20 Link Here
15
USES=		gmake
16
USES=		gmake
16
17
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--enable-tls # this makes nauty thread-safe, math/libnormaliz requires nauty with tls
19
CONFIGURE_ARGS=	--enable-tls --disable-clz ${CONFIGURE_ARGS_${ARCH}} # this makes nauty thread-safe, math/libnormaliz requires nauty with tls
20
CONFIGURE_ARGS_aarch64=	--enable-popcnt
21
CONFIGURE_ARGS_amd64=	--enable-popcnt
22
CONFIGURE_ARGS_armv7=	--enable-popcnt
23
CONFIGURE_ARGS_i386=	--disable-popcnt
24
CONFIGURE_ARGS_powerpc64=	--disable-popcnt
25
CONFIGURE_ARGS_riscv64=	--disable-popcnt
19
26
20
MAKEFILE=	makefile
27
MAKEFILE=	makefile
21
MAKE_ARGS=	includedir=${PREFIX}/include/${PORTNAME} # place headers into a dedicated directory
28
MAKE_ARGS=	includedir=${PREFIX}/include/${PORTNAME} # place headers into a dedicated directory
22
29
23
TEST_TARGET=	check
30
TEST_TARGET=	check
24
31
25
OPTIONS_DEFINE=	DOCS NATIVE
32
OPTIONS_DEFINE=	DOCS
26
27
NATIVE_DESC=		Build with native optimizations (-march=native, etc)
28
NATIVE_CONFIGURE_ON=	--disable-generic --enable-clz --enable-popcnt
29
NATIVE_CONFIGURE_OFF=	--enable-generic --disable-clz --disable-popcnt
30
33
31
post-build: # build shared libraries: based on how static libraries are created
34
post-build: # build shared libraries: based on how static libraries are created
32
	# rebuild .o files with -fPIC
35
	# rebuild .o files with -fPIC

Return to bug 272657