summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-10 06:14:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-10 06:14:32 +0000
commitf4426181870b3ac494d63d71e01cddb9fa12f8c5 (patch)
tree82b080dda1eb9ea077dc1f430ebbdb116cbe6e42 /math
parentRemove useless dancing of .pre.mk/.post.mk (diff)
Fix package building by fixing the option conversion
Notes
Notes: svn path=/head/; revision=322617
Diffstat (limited to 'math')
-rw-r--r--math/liblbfgs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/liblbfgs/Makefile b/math/liblbfgs/Makefile
index 3a28783760f6..ddf8196814ed 100644
--- a/math/liblbfgs/Makefile
+++ b/math/liblbfgs/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:env
-OPTIONS_DEFINE= OPTIMIZED
+OPTIONS_DEFINE= OPTIMIZED DOCS
OPTIMIZED_DESC= SSE2 optimization routines
.include <bsd.port.options.mk>
@@ -31,7 +31,7 @@ PLIST_FILES= lib/liblbfgs-1.10.so.0.0 lib/liblbfgs.a lib//liblbfgs.la \
PORTDOCS= README INSTALL COPYING AUTHORS ChangeLog NEWS
post-patch:
-.if ${PORT_OPTIONS:MDOCS}
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's/install-data-am$$//' ${WRKSRC}/Makefile.in
.endif