Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= librsb |
3 |
PORTNAME= librsb |
4 |
PORTVERSION= 1.2.0.10 |
4 |
PORTVERSION= 1.2.0.10 |
5 |
PORTREVISION= 2 |
5 |
PORTREVISION= 3 |
6 |
CATEGORIES= math |
6 |
CATEGORIES= math |
7 |
MASTER_SITES= SF/librsb |
7 |
MASTER_SITES= SF/librsb |
8 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/} |
8 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/} |
Lines 24-37
GNU_CONFIGURE= yes
Link Here
|
24 |
CFLAGS+= -fPIC |
24 |
CFLAGS+= -fPIC |
25 |
CONFIGURE_ARGS= --enable-fortran-module-install \ |
25 |
CONFIGURE_ARGS= --enable-fortran-module-install \ |
26 |
--enable-matrix-types="double, double complex" |
26 |
--enable-matrix-types="double, double complex" |
|
|
27 |
CONFIGURE_ENV= CFLAGS= SPCFLAGS="${CFLAGS}" |
27 |
SHEBANG_FILES= scripts/*.sh examples/make.sh.in |
28 |
SHEBANG_FILES= scripts/*.sh examples/make.sh.in |
28 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
29 |
|
30 |
|
30 |
MANUAL_PACKAGE_BUILD= Optimizes for the local machine |
31 |
OPTIONS_DEFINE= DOCS OPTIMIZE |
31 |
|
32 |
|
32 |
OPTIONS_DEFINE= DOCS |
33 |
OPTIMIZE_DESC= Optimize for the local machine |
|
|
34 |
OPTIMIZE_CONFIGURE_ENV= SPCFLAGS="${CFLAGS:N-O*}" |
33 |
|
35 |
|
34 |
post-patch: |
36 |
post-patch: |
35 |
@${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh |
37 |
@${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh |
36 |
|
38 |
|
|
|
39 |
post-patch-OPTIMIZE-on: |
40 |
@${REINPLACE_CMD} s/enable_optimize=no/enable_optimize=yes/ \ |
41 |
${WRKSRC}/configure |
42 |
|
37 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |