mark broken for flavour tls if no patches defined

This commit is contained in:
jakob 2003-01-06 11:30:16 +00:00
parent f11ffb90c9
commit 2cea4c57ef

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.21 2003/01/01 13:11:23 jakob Exp $ # $OpenBSD: Makefile.inc,v 1.22 2003/01/06 11:30:16 jakob Exp $
COMMENT= fast, secure sendmail replacement COMMENT= fast, secure sendmail replacement
@ -31,10 +31,7 @@ ALL_TARGET= default
NO_REGRESS= Yes NO_REGRESS= Yes
FLAVORS+= pcre sasl sasl2 ldap mysql FLAVORS+= pcre sasl sasl2 ldap mysql tls
.if defined(TLSVERSION)
FLAVORS+= tls
.endif
FLAVOR?= FLAVOR?=
.if ${FLAVOR:L:Mpcre} .if ${FLAVOR:L:Mpcre}
@ -68,6 +65,7 @@ MAKE_AUXLIBS+= -L${LOCALBASE}/lib/mysql -lmysqlclient
.endif .endif
.if ${FLAVOR:L:Mtls} .if ${FLAVOR:L:Mtls}
.if defined(TLSVERSION)
PKGNAME:= ${PKGNAME}.tls${TLSVERSION} PKGNAME:= ${PKGNAME}.tls${TLSVERSION}
MASTER_SITES0= ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/ \ MASTER_SITES0= ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/ \
@ -92,6 +90,9 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${TLSDISTNAME}/doc/* \ ${INSTALL_DATA} ${WRKDIR}/${TLSDISTNAME}/doc/* \
${PREFIX}/share/doc/postfix/tls ${PREFIX}/share/doc/postfix/tls
.else .else
BROKEN= "TLS patches not yet availible for this version"
.endif
.else
post-patch: post-patch:
rm ${WRKDIST}/conf/*.orig rm ${WRKDIST}/conf/*.orig
.endif .endif