diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-22 20:13:47 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-22 20:13:47 +0000 |
commit | d432f3bc600d4844ec44f8698b40a5e480f55b80 (patch) | |
tree | d74758fae27b030c66aad751024fa5f35049eb84 /sysutils/rsyslog4/Makefile | |
parent | f225722fd79221535ee9d026ed9145c870df10c6 (diff) | |
download | ports-d432f3bc600d4844ec44f8698b40a5e480f55b80.tar.gz ports-d432f3bc600d4844ec44f8698b40a5e480f55b80.zip |
Notes
Diffstat (limited to 'sysutils/rsyslog4/Makefile')
-rw-r--r-- | sysutils/rsyslog4/Makefile | 48 |
1 files changed, 40 insertions, 8 deletions
diff --git a/sysutils/rsyslog4/Makefile b/sysutils/rsyslog4/Makefile index 27c9f654f9e0..2c5fec163b5f 100644 --- a/sysutils/rsyslog4/Makefile +++ b/sysutils/rsyslog4/Makefile @@ -6,25 +6,44 @@ # PORTNAME= rsyslog -PORTVERSION= 4.1.3 +PORTVERSION= 4.1.4 CATEGORIES= sysutils MASTER_SITES= http://download.rsyslog.com/rsyslog/ +.ifdef MNAME +PKGNAMESUFFIX?= -${MNAME} +.endif MAINTAINER= cristianorolim@hotmail.com -COMMENT= Syslogd supporting SQL, TCP and TLS +COMMENT?= Syslogd supporting SQL, TCP and TLS -MAN8= rsyslogd.8 -MAN5= rsyslog.conf.5 +.ifdef MNAME +RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4 -CONFLICTS= rsyslog-[2-3].[0-9]* -USE_RC_SUBR= ${PORTNAME}d -SUB_FILES= pkg-message +PLIST= ${.CURDIR}/pkg-plist +.endif +CONFLICTS= rsyslog-[2-3].[0-9]* CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes + +.ifdef WITH_DEBUG +CONFIGURE_ARGS+=--enable-rtinst --enable-debug +.endif + +.include <bsd.port.pre.mk> +.if ${ARCH} == "i386" +CPPFLAGS+=-march=i686 +.endif CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.ifndef MNAME +MAN8= rsyslogd.8 +MAN5= rsyslog.conf.5 + +USE_RC_SUBR= ${PORTNAME}d +SUB_FILES= pkg-message + CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate post-patch: @@ -46,5 +65,18 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR} .endif @${CAT} ${PKGMESSAGE} +.endif + +.ifdef MNAME + +.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000 +IGNORE= with gssapi module is only supported on FreeBSD 7.x or later +.endif + +CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog + +DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr +MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |