pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/couriertcpd Fix build on Linux. Replace link to -...
details: https://anonhg.NetBSD.org/pkgsrc/rev/65ec039db9fd
branches: trunk
changeset: 519745:65ec039db9fd
user: ben <ben%pkgsrc.org@localhost>
date: Mon Oct 09 01:34:10 2006 +0000
description:
Fix build on Linux. Replace link to -ldb with BDB_LIBS. Avoid automake
refresh. This addresses PR#33802
diffstat:
net/couriertcpd/Makefile | 8 +++++++-
net/couriertcpd/distinfo | 3 ++-
net/couriertcpd/patches/patch-aa | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 2 deletions(-)
diffs (72 lines):
diff -r b1c964ced858 -r 65ec039db9fd net/couriertcpd/Makefile
--- a/net/couriertcpd/Makefile Mon Oct 09 01:07:44 2006 +0000
+++ b/net/couriertcpd/Makefile Mon Oct 09 01:34:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/06/26 05:21:17 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2006/10/09 01:34:10 ben Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
@@ -46,6 +46,12 @@
.include "../../security/openssl/buildlink3.mk"
+SUBST_CLASSES+= bdb
+SUBST_MESSAGE.bdb= Configuring to use $(BDB_LIBS)
+SUBST_STAGE.bdb= post-patch
+SUBST_FILES.bdb= configure bdbobj/configure.in bdbobj/configure
+SUBST_SED.bdb= -e "s,-ldb,${BDB_LIBS},g"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertcpd \
${PREFIX}/sbin/couriertcpd
diff -r b1c964ced858 -r 65ec039db9fd net/couriertcpd/distinfo
--- a/net/couriertcpd/distinfo Mon Oct 09 01:07:44 2006 +0000
+++ b/net/couriertcpd/distinfo Mon Oct 09 01:34:10 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/06/09 22:11:03 jlam Exp $
+$NetBSD: distinfo,v 1.2 2006/10/09 01:34:10 ben Exp $
SHA1 (courier-0.53.2.tar.bz2) = 89c6a9a57467adf8c1ac815a5ffacf47e5e694a3
RMD160 (courier-0.53.2.tar.bz2) = a6efce3a8d6572923190ea49ed6085906317ebd8
Size (courier-0.53.2.tar.bz2) = 6942557 bytes
+SHA1 (patch-aa) = 5e3d549c96a0d25f963ecd08f8bf9f077263cd38
diff -r b1c964ced858 -r 65ec039db9fd net/couriertcpd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/couriertcpd/patches/patch-aa Mon Oct 09 01:34:10 2006 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1 2006/10/09 01:34:10 ben Exp $
+
+--- bdbobj/Makefile.in.orig 2006-01-29 12:36:19.000000000 -0500
++++ bdbobj/Makefile.in
+@@ -225,21 +225,6 @@ all: config.h
+
+ .SUFFIXES:
+ .SUFFIXES: .C .c .lo .o .obj
+-am--refresh:
+- @:
+-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+- @for dep in $?; do \
+- case '$(am__configure_deps)' in \
+- *$$dep*) \
+- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
+- cd $(srcdir) && $(AUTOMAKE) --foreign \
+- && exit 0; \
+- exit 1;; \
+- esac; \
+- done; \
+- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+- cd $(top_srcdir) && \
+- $(AUTOMAKE) --foreign Makefile
+ .PRECIOUS: Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+@@ -618,7 +603,7 @@ ps-am:
+
+ uninstall-am: uninstall-info-am
+
+-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
++.PHONY: CTAGS GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ clean-noinstPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \
+ dist-shar dist-tarZ dist-zip distcheck distclean \
Home |
Main Index |
Thread Index |
Old Index