From f4426181870b3ac494d63d71e01cddb9fa12f8c5 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 10 Jul 2013 06:14:32 +0000 Subject: Fix package building by fixing the option conversion --- math/liblbfgs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math') 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 @@ -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 -- cgit v1.2.3