From e3a0f000b4cc00076a29811c32eb31c46feb2475 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 19 Mar 2001 18:44:27 +0000 Subject: - fix depends for INN - upgraded depends from INN2.2 to INN2.3 - port now honors NOPORTDOCS --- news/suck/Makefile | 5 ++++- news/suck/files/inn2.patch | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'news/suck') diff --git a/news/suck/Makefile b/news/suck/Makefile index 72de9d22ab7d..5f23edf44fc2 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -21,7 +21,8 @@ MAN1= suck.1 rpost.1 testhost.1 lmove.1 EXTRA_PATCHES+= ${FILESDIR}/cnews.patch .else EXTRA_PATCHES+= ${FILESDIR}/inn2.patch -BUILD_DEPENDS= /nonexistent:${PORTSDIR}/news/inn:configure +BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/news/inn:configure +BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .endif post-patch: @@ -32,10 +33,12 @@ post-patch: ${WRKSRC}/suck_config.h post-install: +.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/examples/suck ${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.inn ${PREFIX}/share/examples/suck ${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.generic ${PREFIX}/share/examples/suck ${INSTALL_SCRIPT} ${WRKSRC}/sample/put.news ${PREFIX}/share/examples/suck ${INSTALL_DATA} ${WRKSRC}/sample/*.sample ${PREFIX}/share/examples/suck +.endif .include diff --git a/news/suck/files/inn2.patch b/news/suck/files/inn2.patch index 975a2cdbeabf..e8c76931746d 100644 --- a/news/suck/files/inn2.patch +++ b/news/suck/files/inn2.patch @@ -14,7 +14,7 @@ #DB_TYPE=-DUSE_DBZ # for inn-1.X.X users #DB_TYPE=-DUSE_INN2 # for inn-2.1-2.X users #DB_TYPE=-DUSE_INN23 # for inn-2.3.X users -+DB_TYPE=-DUSE_INN2 -DDO_TAGGED_HASH # for inn-2.X.X users ++DB_TYPE=-DUSE_INN23 -DDO_TAGGED_HASH # for inn-2.3.X users # Step 3: Define ONE Library that contains the functions # If you are using INN-2.X, and the compiler complains @@ -28,7 +28,7 @@ # define These #DB_INC_LOC=-I/usr/src/inn-2.3/include #DB_LIB_LOC=-L/usr/src/inn-2.3/lib -+DB_INC_LOC=-I../../../inn/work/inn-2.3.0/include/ ++DB_INC_LOC=-I../../../inn/work/inn-2.3.1/include/ +DB_LIB_LOC=-L/usr/local/news/lib # Step 5: If you want to use embedded PERL functions as kill routines -- cgit v1.2.3