diff options
author | ghen <ghen@pkgsrc.org> | 2007-01-02 11:47:40 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2007-01-02 11:47:40 +0000 |
commit | 81d3bcd078e4d2645f301acb7086a5b7065e818c (patch) | |
tree | 7a388ebf89d163654779f3f15e52e13e9fd7a226 /mail/gld | |
parent | f3ec0636be74904fda693406c158e6d8801401cb (diff) | |
download | pkgsrc-81d3bcd078e4d2645f301acb7086a5b7065e818c.tar.gz |
Replace rc.d dependency on "mysqld" by "pgsql" if pgsql option is selected.
Diffstat (limited to 'mail/gld')
-rw-r--r-- | mail/gld/options.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/gld/options.mk b/mail/gld/options.mk index b33632128b0..90bbcd07a43 100644 --- a/mail/gld/options.mk +++ b/mail/gld/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.6 2006/03/02 20:54:08 wiz Exp $ +# $NetBSD: options.mk,v 1.7 2007/01/02 11:47:40 ghen Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gld PKG_OPTIONS_REQUIRED_GROUPS= database @@ -20,4 +20,9 @@ MESSAGE_SRC+= MESSAGE.mysql CONFIGURE_ARGS+= --with-pgsql=${BUILDLINK_PREFIX.postgresql-libs} LIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib \ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -lpq +# Replace rc.d dependency by pgsql +SUBST_CLASSES+= pgsql +SUBST_STAGE.pgsql= pre-install +SUBST_FILES.pgsql= ../gld +SUBST_SED.pgsql= -e "s,mysqld,pgsql," .endif |