diff options
author | ben <ben@pkgsrc.org> | 2006-10-09 01:34:10 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2006-10-09 01:34:10 +0000 |
commit | 6e913917223042bb2b6c4e842120787f1478284e (patch) | |
tree | 499a6c4c1ba180f5d52dafde90e85eb34345e4b3 /net | |
parent | f321ce89440702f90a1afc2e56ae8c236ad4fe48 (diff) | |
download | pkgsrc-6e913917223042bb2b6c4e842120787f1478284e.tar.gz |
Fix build on Linux. Replace link to -ldb with BDB_LIBS. Avoid automake
refresh. This addresses PR#33802
Diffstat (limited to 'net')
-rw-r--r-- | net/couriertcpd/Makefile | 8 | ||||
-rw-r--r-- | net/couriertcpd/distinfo | 3 | ||||
-rw-r--r-- | net/couriertcpd/patches/patch-aa | 35 |
3 files changed, 44 insertions, 2 deletions
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile index eec3e81125c..1eb4012bb0b 100644 --- a/net/couriertcpd/Makefile +++ b/net/couriertcpd/Makefile @@ -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 @@ MAKE_DIRS+= ${VARBASE}/run ${COURIER_STATEDIR} .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 --git a/net/couriertcpd/distinfo b/net/couriertcpd/distinfo index 495de9b1dc9..5da3a32a8fd 100644 --- a/net/couriertcpd/distinfo +++ b/net/couriertcpd/distinfo @@ -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 --git a/net/couriertcpd/patches/patch-aa b/net/couriertcpd/patches/patch-aa new file mode 100644 index 00000000000..6a97303e9a3 --- /dev/null +++ b/net/couriertcpd/patches/patch-aa @@ -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 \ |