aboutsummaryrefslogtreecommitdiffstats
path: root/math/liblbfgs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/liblbfgs/Makefile')
-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