mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Help "make describe" to find dependencies properly.
Requested by: kris
This commit is contained in:
parent
6583f9b557
commit
4aa80a5750
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74876
@ -99,4 +99,12 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
# XXX:
|
||||
# Has to be kept in sync with the defaults in configure.php
|
||||
.ifndef(WITHOUT_MYSQL)
|
||||
.ifmake describe
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -166,6 +166,7 @@ while [ "$1" ]; do
|
||||
\"MySQL\")
|
||||
echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
|
||||
echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
|
||||
MYSQL=1
|
||||
;;
|
||||
\"PostgreSQL\")
|
||||
echo "POSTGRESQL_PORT?= databases/postgresql7"
|
||||
@ -363,3 +364,7 @@ done
|
||||
if [ "${LIBS}" ]; then
|
||||
echo "CONFIGURE_ENV+= LIBS='${LIBS}'"
|
||||
fi
|
||||
|
||||
if [ -z "${MYSQL}" ]; then
|
||||
echo "WITHOUT_MYSQL= 1"
|
||||
fi
|
||||
|
@ -99,4 +99,12 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
# XXX:
|
||||
# Has to be kept in sync with the defaults in configure.php
|
||||
.ifndef(WITHOUT_MYSQL)
|
||||
.ifmake describe
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -166,6 +166,7 @@ while [ "$1" ]; do
|
||||
\"MySQL\")
|
||||
echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
|
||||
echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
|
||||
MYSQL=1
|
||||
;;
|
||||
\"PostgreSQL\")
|
||||
echo "POSTGRESQL_PORT?= databases/postgresql7"
|
||||
@ -363,3 +364,7 @@ done
|
||||
if [ "${LIBS}" ]; then
|
||||
echo "CONFIGURE_ENV+= LIBS='${LIBS}'"
|
||||
fi
|
||||
|
||||
if [ -z "${MYSQL}" ]; then
|
||||
echo "WITHOUT_MYSQL= 1"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user