ports/148162: [PATCH] databases/sqlite3 fails with NO_INSTALL_MANPAGES defined.

Ashish SHUKLA ashish at FreeBSD.org
Sat Jun 26 07:30:10 UTC 2010


>Number:         148162
>Category:       ports
>Synopsis:       [PATCH] databases/sqlite3 fails with NO_INSTALL_MANPAGES defined.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 26 07:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ashish SHUKLA
>Release:        FreeBSD 8.0-RELEASE-p3 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD chateau.d.if 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #4: Thu May 27 19:12:08 IST 2010 root at chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64


>Description:
When NO_INSTALL_MANPAGES is defined, databases/sqlite3 fails with following error:

,---- excerpt from: http://people.freebsd.org/~ashish/logs/sqlite3-3.6.23.1_1.log 
| ====================<phase 7: make package>====================
| ===>  Building package for sqlite3-3.6.23.1_1
| tar: man/man1/sqlite3.1.gz: Cannot stat: No such file or directory
| tar: Error exit delayed from previous errors.
| pkg_create: make_dist: tar command failed with code 256
| Creating package /tmp/packages/All/sqlite3-3.6.23.1_1.tbz
| Registering depends:.
| Registering conflicts: sqlite34-[0-9]*.
| Creating bzip'd tar ball in '/tmp/packages/All/sqlite3-3.6.23.1_1.tbz'
| *** Error code 1
`----

>How-To-Repeat:

% sudo make -C /usr/ports/database/sqlite3 build deinstall package clean

>Fix:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/sqlite3/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	22 Apr 2010 15:29:12 -0000	1.42
+++ Makefile	26 Jun 2010 07:12:55 -0000
@@ -27,7 +27,9 @@
 		TCLLIBDIR="${PREFIX}/lib/${PORTNAME}" \
 		ac_cv_search_pthread_create=""
 
+.ifndef NO_INSTALL_MANPAGES
 MAN1=		sqlite3.1
+.endif
 
 OPTIONS=	DEBUG		"Enable debugging & verbose explain"	off \
 		FTS3		"Enable FTS3 (Full Text Search) module"	off \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list