From 700c3746dca9a6f644d165f33624f44df62e010f Mon Sep 17 00:00:00 2001 From: sobomax Date: Thu, 14 Dec 2000 17:31:34 +0000 Subject: - Install mans; - make port to be compliant with portlint-2.3. Submitted by: maintainer --- www/oops/Makefile | 4 ++++ www/oops/files/patch-ac | 10 ++++++++++ www/oops/files/patch-ad | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 www/oops/files/patch-ac create mode 100644 www/oops/files/patch-ad (limited to 'www/oops') diff --git a/www/oops/Makefile b/www/oops/Makefile index f6146571870b..4e0d4a7a94e7 100644 --- a/www/oops/Makefile +++ b/www/oops/Makefile @@ -21,12 +21,16 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --libdir=${PREFIX}/libexec/oops \ --enable-oops-user=oops +MAN8= oops.8 oopsctl.8 + pre-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL .include 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 --git a/www/oops/files/patch-ac b/www/oops/files/patch-ac new file mode 100644 index 000000000000..9536db810961 --- /dev/null +++ b/www/oops/files/patch-ac @@ -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 + #endif + #include +-#if !defined(HAVE_PTHREAD_RWLOCK_INIT) ++#if !defined(HAVE_PTHREAD_RWLOCK_INIT) && !defined(FREEBSD) + #include "rwlock.h" + #endif diff --git a/www/oops/files/patch-ad b/www/oops/files/patch-ad new file mode 100644 index 000000000000..fc4b10b3cde7 --- /dev/null +++ b/www/oops/files/patch-ad @@ -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 -- cgit