aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-06-13 03:43:15 +0800
committerdinoex <dinoex@FreeBSD.org>2003-06-13 03:43:15 +0800
commit5ceb3f6f06e54edff969c65ae2ab2383f5b14922 (patch)
tree1d94fc83a061652f4577fc1fbdef31c7b9fda0dc
parentf26533477d755975f2aec84e9953fbb1b70343e3 (diff)
downloadfreebsd-ports-gnome-5ceb3f6f06e54edff969c65ae2ab2383f5b14922.tar.gz
freebsd-ports-gnome-5ceb3f6f06e54edff969c65ae2ab2383f5b14922.tar.zst
freebsd-ports-gnome-5ceb3f6f06e54edff969c65ae2ab2383f5b14922.zip
- Option CNEWS_PORT
-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"