aboutsummaryrefslogtreecommitdiff
path: root/news/suck
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-12 19:43:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-12 19:43:15 +0000
commit68552eec14b39fd14f3a5081bab9396939e66675 (patch)
treeb99fffbfc4d8a129989e658a4b7a5dee51bf1b70 /news/suck
parentbc14e23a8bc53da18c31a3236e083d15695a206d (diff)
downloadports-68552eec14b39fd14f3a5081bab9396939e66675.tar.gz
ports-68552eec14b39fd14f3a5081bab9396939e66675.zip
Notes
Diffstat (limited to 'news/suck')
-rw-r--r--news/suck/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index 395df48e1fbf..b64c04d5b70f 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -23,11 +23,12 @@ EX_DATA= suckkillfile.sample sucknewsrc.sample suckothermsgs.sample
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= CHKHISTORY=chkhistory_db.o
.if defined(NEWSBIN) && !defined(SUCK_WITH_INN)
+CNEWS_PORT?= news/cnews
PKGNAMESUFFIX?= -cnews
MAKE_ENV+= DB_TYPE=-DUSE_DBZ DB_LIB=-lcnews
MAKE_ENV+= DB_LIB_LOC=-L${LOCALBASE}/lib
MAKE_ENV+= INCDIR2=-I${LOCALBASE}/include
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWS_PORT}
.else
CFLAGS+= -DNO_CONFIGDATA
MAKE_ENV+= DB_TYPE="-DUSE_INN23 -DDO_TAGGED_HASH"