summaryrefslogtreecommitdiff
path: root/news/suck
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-03-19 18:44:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-03-19 18:44:27 +0000
commite3a0f000b4cc00076a29811c32eb31c46feb2475 (patch)
tree242dd79574c42c98220a6f6cf4756424d21dc62a /news/suck
parentWell.. add "@" to MAINTAINER. (diff)
- fix depends for INN
- upgraded depends from INN2.2 to INN2.3 - port now honors NOPORTDOCS
Notes
Notes: svn path=/head/; revision=40061
Diffstat (limited to 'news/suck')
-rw-r--r--news/suck/Makefile5
-rw-r--r--news/suck/files/inn2.patch4
2 files changed, 6 insertions, 3 deletions
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 <bsd.port.mk>
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