ports/136751: Update port: databases/ruby-bdb fix "make install" problem

Kouki Hashimoto hsmtkk at gmail.com
Tue Jul 14 12:50:04 UTC 2009


>Number:         136751
>Category:       ports
>Synopsis:       Update port: databases/ruby-bdb fix "make install" problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 14 12:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kouki Hashimoto
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD fb.localdomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Sun Jul 12 19:21:12 JST 2009     root at fb.localdomain:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Update port: databases/ruby-bdb
To fix "make install" problem,
I disabled document installation.

>How-To-Repeat:
# cd /usr/ports/databases/ruby-bdb
# make install

1. 1st Problem
( cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.5; /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -fno-strict-a
liasing -pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe"  MANPREFIX="/
usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTAL
L_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root 
-g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make  -f Ma
kefile  rdoc )
rdoc: not found
*** Error code 127 (ignored)

2. 2nd Problem
(cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.5/docs/doc && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/sbin/chown -R root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/share/doc/ruby18/bdb/doc)
cd: can't cd to /usr/ports/databases/ruby-bdb/work/bdb-0.6.5/docs/doc
*** Error code 2

>Fix:
--- Makefile.orig       2009-07-14 21:31:35.000000000 +0900
+++ Makefile    2009-07-14 21:33:37.000000000 +0900
@@ -54,14 +54,13 @@
 post-build:
 .if !defined(NOPORTDOCS)
        ( cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
-       ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc )
+       ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} )
 .endif
 
 post-install:
 .if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}/doc
        (cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR})
-       (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}/doc)
 .endif
 .if !defined(NOPORTEXAMPLES)
        ${MKDIR} ${EXAMPLESDIR}/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list