Lines 35-40
Link Here
|
35 |
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-icon-update |
35 |
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-icon-update |
36 |
CONFIGURE_ENV+= --define=NO_CAMERA |
36 |
CONFIGURE_ENV+= --define=NO_CAMERA |
37 |
INSTALLS_ICONS= yes |
37 |
INSTALLS_ICONS= yes |
|
|
38 |
PORTSCOUT= limitw:1,even |
38 |
|
39 |
|
39 |
OPTIONS_DEFINE= OPENMP |
40 |
OPTIONS_DEFINE= OPENMP |
40 |
OPTIONS_DEFAULT= |
41 |
OPTIONS_DEFAULT= |
Lines 43-51
Link Here
|
43 |
.include <bsd.port.options.mk> |
44 |
.include <bsd.port.options.mk> |
44 |
|
45 |
|
45 |
.if ${PORT_OPTIONS:MOPENMP} |
46 |
.if ${PORT_OPTIONS:MOPENMP} |
46 |
USE_GCC= yes |
47 |
USES+= compiler:openmp |
47 |
LDFLAGS+= -lc++ |
48 |
LDFLAGS+= -lc++ |
|
|
49 |
.if ${OSVERSION} < 1000000 |
50 |
LIB_DEPENDS+= libc++.so:${PORTSDIR}/devel/libc++ |
48 |
.endif |
51 |
.endif |
|
|
52 |
.else |
53 |
.if ${OSVERSION} < 1000000 |
54 |
USES+= compiler:c++11-lib |
55 |
.endif |
56 |
.endif |
49 |
|
57 |
|
50 |
SHEBANG_FILES= ${WRKSRC}/${CONFIGURE_SCRIPT} ${WRKSRC}/chkver |
58 |
SHEBANG_FILES= ${WRKSRC}/${CONFIGURE_SCRIPT} ${WRKSRC}/chkver |
51 |
|
59 |
|