mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Remove bogus optional dependencies on databases/postgresql7
Inspired by: "I wonder where people are taking this code snippet from."
This commit is contained in:
parent
80c5619581
commit
4d2b5b5ad2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136498
3 changed files with 4 additions and 6 deletions
|
@ -80,7 +80,7 @@ while [ "$1" ]; do
|
||||||
MySQL=1
|
MySQL=1
|
||||||
;;
|
;;
|
||||||
\"PostgreSQL\")
|
\"PostgreSQL\")
|
||||||
echo 'BUILD_DEPENDS+= ${PREFIX}/pgsql/bin/psql:${PORTSDIR}/databases/postgresql7' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
echo 'USE_PGSQL= yes' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
||||||
echo 'CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
echo 'CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql' >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
||||||
PostgresSQL=1
|
PostgresSQL=1
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.38 2003-07-31 12:19:53 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.39 2005-05-31 08:11:30 pav Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
|
@ -109,8 +109,7 @@ for i; do
|
||||||
echo "MYSQL_SUFFIX= +mysql"
|
echo "MYSQL_SUFFIX= +mysql"
|
||||||
;;
|
;;
|
||||||
PgSQL)
|
PgSQL)
|
||||||
echo "POSTGRESQL_PORT?= databases/postgresql7"
|
echo "USE_PGSQL= yes"
|
||||||
echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
|
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PGSQL -I\${LOCALBASE}/include -I\${LOCALBASE}/pgsql/include"
|
echo "POSTFIX_CCARGS+= -DHAS_PGSQL -I\${LOCALBASE}/include -I\${LOCALBASE}/pgsql/include"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt"
|
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt"
|
||||||
echo "PGSQL_SUFFIX= +pgsql"
|
echo "PGSQL_SUFFIX= +pgsql"
|
||||||
|
|
3
net-mgmt/netsaint-plugins/scripts/configure
vendored
3
net-mgmt/netsaint-plugins/scripts/configure
vendored
|
@ -81,8 +81,7 @@ while [ "$1" ]; do
|
||||||
SUB_MYSQL=""
|
SUB_MYSQL=""
|
||||||
;;
|
;;
|
||||||
\"PostgreSQL\")
|
\"PostgreSQL\")
|
||||||
echo "POSTGRESQL_PORT?= databases/postgresql7"
|
echo "USE_PGSQL= yes"
|
||||||
echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
|
|
||||||
echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}"
|
echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}"
|
||||||
SUB_PGSQL=""
|
SUB_PGSQL=""
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue