aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-07-10 14:14:32 +0800
committerbapt <bapt@FreeBSD.org>2013-07-10 14:14:32 +0800
commit8c10e846945af76a149de7327b01eff18a2fe8d0 (patch)
tree82b080dda1eb9ea077dc1f430ebbdb116cbe6e42 /math
parent155f7739e853c21d4525e4cc83bfafbd46c7c0ac (diff)
downloadfreebsd-ports-gnome-8c10e846945af76a149de7327b01eff18a2fe8d0.tar.gz
freebsd-ports-gnome-8c10e846945af76a149de7327b01eff18a2fe8d0.tar.zst
freebsd-ports-gnome-8c10e846945af76a149de7327b01eff18a2fe8d0.zip
Fix package building by fixing the option conversion
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