Replace rc.d dependency on "mysqld" by "pgsql" if pgsql option is selected.
This commit is contained in:
parent
f3ec0636be
commit
81d3bcd078
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue