View | Details | Raw Unified | Return to bug 23588 | Differences between
and this patch

Collapse All | Expand All

(-)mod_php4/scripts/configure.php (-1 / +8 lines)
Lines 101-106 Link Here
101
		\"PostgreSQL\")
101
		\"PostgreSQL\")
102
			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7"
102
			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7"
103
			echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql"
103
			echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql"
104
			if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres | /usr/bin/grep -q "libssl"; then
105
				LIBS="-lcrypto -lssl"
106
			fi
104
			;;
107
			;;
105
		\"SybaseDB\")
108
		\"SybaseDB\")
106
			echo "LIB_DEPENDS+=	sybdb.0:\${PORTSDIR}/databases/freetds"
109
			echo "LIB_DEPENDS+=	sybdb.0:\${PORTSDIR}/databases/freetds"
Lines 130-136 Link Here
130
			echo "LIB_DEPENDS+=	lber.1:\${PORTSDIR}/net/openldap"
133
			echo "LIB_DEPENDS+=	lber.1:\${PORTSDIR}/net/openldap"
131
			echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}"
134
			echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}"
132
			if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then
135
			if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then
133
				echo "CONFIGURE_ENV+=	LIBS='-lkrb -ldes -L\${PREFIX}/lib'"
136
				LIBS="${LIBS} -lkrb -ldes -L\${PREFIX}/lib"
134
			fi
137
			fi
135
			;;
138
			;;
136
		\"SNMP\")
139
		\"SNMP\")
Lines 175-179 Link Here
175
			exit 1
178
			exit 1
176
			;;
179
			;;
177
	esac
180
	esac
181
182
	if [ "${LIBS}" ]; then
183
		echo "CONFIGURE_ENV+=	LIBS='${LIBS}'"
184
	fi
178
	shift
185
	shift
179
done
186
done

Return to bug 23588