aboutsummaryrefslogtreecommitdiffstats
path: root/news/suck
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-20 02:44:27 +0800
committerdinoex <dinoex@FreeBSD.org>2001-03-20 02:44:27 +0800
commite7745d987aeedde91b779ffb2cf9cae927a5d27d (patch)
treec9a55a6fc881156546038eef6e57687186f9b547 /news/suck
parentae395c8078df719eaef148f9ae5c82c6ed17dbd4 (diff)
downloadfreebsd-ports-gnome-e7745d987aeedde91b779ffb2cf9cae927a5d27d.tar.gz
freebsd-ports-gnome-e7745d987aeedde91b779ffb2cf9cae927a5d27d.tar.zst
freebsd-ports-gnome-e7745d987aeedde91b779ffb2cf9cae927a5d27d.zip
- fix depends for INN
- upgraded depends from INN2.2 to INN2.3 - port now honors NOPORTDOCS
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