Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 20:03:35 +0300 (MSK)
From:      osa@FreeBSD.org.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23545: update www/oops: (install mans + portlint-2.3 compilant) (by maintainer)
Message-ID:  <20001214170335.119F8157@freebsd.org.ru>
Resent-Message-ID: <200012141710.eBEHA1J04845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23545
>Category:       ports
>Synopsis:       update www/oops: (install mans + portlint-2.3 compilant) (by maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 14 09:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Russian FreeBSD Team
>Environment:

	FreeBSD 4.2-STABLE i386

>Description:

	update www/oops: (install mans + portlint-2.3 compilant)

>How-To-Repeat:


>Fix:

diff -ruN oops.old/Makefile oops/Makefile
--- oops.old/Makefile	Thu Dec 14 19:43:56 2000
+++ oops/Makefile	Thu Dec 14 19:48:04 2000
@@ -21,12 +21,16 @@
 		--libdir=${PREFIX}/libexec/oops \
 		--enable-oops-user=oops
 
+MAN8=		oops.8 oopsctl.8
+
 pre-install:
 	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 
 .include <bsd.port.pre.mk>
 
 post-install:
+	@${INSTALL_MAN} ${WRKSRC}/doc/oops.8 ${PREFIX}/man/man8
+	@${INSTALL_MAN} ${WRKSRC}/doc/oopsctl.8 ${PREFIX}/man/man8
 	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@ ${ECHO} "------------------------------------------------------------"
 	@ ${ECHO} "Sample of configuration file placed at ${PREFIX}/etc/oops !"
diff -ruN oops.old/files/patch-ac oops/files/patch-ac
--- oops.old/files/patch-ac	Thu Jan  1 03:00:00 1970
+++ oops/files/patch-ac	Thu Dec 14 19:14:06 2000
@@ -0,0 +1,10 @@
+--- src/environment.h.orig	Wed Dec 13 17:33:19 2000
++++ src/environment.h	Wed Dec 13 17:33:40 2000
+@@ -55,7 +55,7 @@
+ #include	<thread.h>
+ #endif
+ #include	<pthread.h>
+-#if	!defined(HAVE_PTHREAD_RWLOCK_INIT)
++#if	!defined(HAVE_PTHREAD_RWLOCK_INIT) && !defined(FREEBSD)
+ #include	"rwlock.h"
+ #endif
diff -ruN oops.old/files/patch-ad oops/files/patch-ad
--- oops.old/files/patch-ad	Thu Jan  1 03:00:00 1970
+++ oops/files/patch-ad	Thu Dec 14 19:14:13 2000
@@ -0,0 +1,52 @@
+--- configure.orig	Wed Dec 13 20:02:46 2000
++++ configure	Wed Dec 13 20:03:33 2000
+@@ -1476,49 +1476,11 @@
+   echo "$ac_t""no" 1>&6
+ fi
+ 
+-
+ pwd=`pwd`
+ LIBDB_NAME=-ldb
+ echo $ac_n "checking for libdb.a""... $ac_c" 1>&6
+ echo "configure:1484: checking for libdb.a" >&5
+-if test "X$LIBDB_PATH" != "X" ; then
+-    LIBDB_PATH=$LIBDB_PATH
+-elif test -r "/usr/local/BerkeleyDB/lib/libdb.a"; then
+-    LIBDB_PATH="/usr/local/BerkeleyDB"
+-elif test -r "/usr/local/BerkeleyDB.3.1/lib/libdb.a"; then
+-    LIBDB_PATH="/usr/local/BerkeleyDB.3.1"
+-elif test -r "/usr/local/BerkeleyDB.3.0/lib/libdb.lib"; then
+-    LIBDB_PATH="/usr/local/BerkeleyDB.3.0"
+-elif test -r "$pwd/libdb.a"; then
+-    LIBDB_PATH="$pwd"
+-elif test -r "/usr/local/lib/libdb.a"; then
+-    LIBDB_PATH="/usr/local"
+-elif test -r "/usr/lib/libdb2.a"; then                                         
+-    LIBDB_PATH="/usr"                                                          
+-    LIBDB_NAME=-ldb2                                                           
+-elif test -r "/usr/lib/libdb.a"; then
+-    LIBDB_PATH="/usr"
+-elif test -r "/usr/local/lib/libdb2.a"; then
+-    LIBDB_PATH="/usr/local"
+-    LIBDB_NAME=-ldb2
+-elif test -r "/usr/local/BerkeleyDB/lib/libdb.lib"; then
+-    LIBDB_PATH="/usr/local/BerkeleyDB"
+-    LIBDB_NAME=-llibdb
+-elif test -r "$pwd/libdb.lib"; then
+-    LIBDB_PATH="$pwd"
+-    LIBDB_NAME=-llibdb
+-elif test -r "/usr/local/lib/libdb.lib"; then
+-    LIBDB_PATH="/usr/local"
+-    LIBDB_NAME=-llibdb
+-elif test -r "/usr/lib/libdb.lib"; then
+-    LIBDB_PATH="/usr"
+-    LIBDB_NAME=-llibdb
+-elif test -r "/usr/local/lib/libdb2.lib"; then
+-    LIBDB_PATH="/usr/local"
+-    LIBDB_NAME=-llibdb2
+-else
+-    LIBDB_PATH="no"
+-fi
++LIBDB_PATH="no"
+ 
+ echo "$ac_t""$LIBDB_PATH" 1>&6

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001214170335.119F8157>