Skip to content

Commit

Permalink
Keep it simple: libtai does not futz with PKG_SYSCONFSUBDIR.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Jun 19, 2019
1 parent 6ffc088 commit 032a64c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions mail/qmail/options.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.63 2019/04/10 22:24:57 schmonz Exp $
# $NetBSD: options.mk,v 1.64 2019/06/19 17:46:39 schmonz Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.qmail
PKG_SUPPORTED_OPTIONS+= eai inet6 pam syncdir tai-system-clock tls
Expand Down Expand Up @@ -89,17 +89,7 @@ SUBST_CLASSES+= libtai
SUBST_STAGE.libtai= do-configure
SUBST_FILES.libtai= leapsecs_read.c
SUBST_SED.libtai= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR.libtai}|g'
DEPENDS_LIBTAI= libtai>=0.60nb5:../../devel/libtai
DEPENDS+= ${DEPENDS_LIBTAI}
. if !defined(PKG_SYSCONFDIR.libtai)
PKG_SYSCONFDIR.libtai!= \
${PKG_INFO} -Q PKG_SYSCONFDIR \
${DEPENDS_LIBTAI:C/:.*$//:Q} 2>/dev/null || \
${ECHO} "PKG_SYSCONFDIR.libtai_not_set"
. if empty(PKG_SYSCONFDIR.libtai:M*not_set)
MAKEVARS+= PKG_SYSCONFDIR.libtai
. endif
. endif
DEPENDS+= libtai>=0.60nb5:../../devel/libtai
.endif

PLIST_VARS+= tls
Expand Down

0 comments on commit 032a64c

Please sign in to comment.