From 0d064c8d8f5b14e48d0638348e8900b64250cac7 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 18 Aug 2010 22:02:12 +0000 Subject: [PATCH] - Fix 'make package' when NO_INSTALL_MANPAGES is defined PR: ports/146083 Submitted by: Sunpoet Po-Chuan Hsieh Approved by: Pavel I Volkov (maintainer) --- databases/sqlite3/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 31d8c09b4113..d02bb57a0f47 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -27,8 +27,6 @@ CONFIGURE_ENV+= TCLSH_CMD="${TCLSH}" \ TCLLIBDIR="${PREFIX}/lib/${PORTNAME}" \ ac_cv_search_pthread_create="" -MAN1= sqlite3.1 - OPTIONS= DEBUG "Enable debugging & verbose explain" off \ FTS3 "Enable FTS3 (Full Text Search) module" off \ RTREE "Enable R*Tree module" off \ @@ -40,6 +38,10 @@ OPTIONS= DEBUG "Enable debugging & verbose explain" off \ .include +.if !defined(NO_INSTALL_MANPAGES) +MAN1= sqlite3.1 +.endif + .if ${OSVERSION} < 700000 EXTRA_PATCHES+= ${FILESDIR}/pthread_equal_stub .endif