svn commit: r358758 - head/security/beecrypt
Adam Weinberger
adamw at FreeBSD.org
Sat Jun 21 23:59:07 UTC 2014
Author: adamw
Date: Sat Jun 21 23:59:06 2014
New Revision: 358758
URL: http://svnweb.freebsd.org/changeset/ports/358758
QAT: https://qat.redports.org/buildarchive/r358758/
Log:
Turn "WITH_OPENMP" into a proper OPTION.
Modified:
head/security/beecrypt/Makefile
Modified: head/security/beecrypt/Makefile
==============================================================================
--- head/security/beecrypt/Makefile Sat Jun 21 23:43:16 2014 (r358757)
+++ head/security/beecrypt/Makefile Sat Jun 21 23:59:06 2014 (r358758)
@@ -16,15 +16,16 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-java
USE_LDCONFIG= yes
+OPTIONS_DEFINE= OPENMP
+OPENMP_CONFIGURE_ENABLE= openmp
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
-.if defined(WITH_OPENMP)
+.if ${PORT_OPTIONS:MOPENMP}
@${ECHO_MSG} "Configuring for OpenMP support"
@${ECHO_MSG} "Any ports depending on beecrypt must be configured for OpenMP too."
-
-CONFIGURE_ARGS+= --enable-openmp
-.else
-CONFIGURE_ARGS+= --disable-openmp
.endif
# Configure tries to guess our CPU-features using Linux-centric logic.
More information about the svn-ports-all
mailing list