1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Don't use ${APXS} if dso support isn't compiled in.

PR:		ports/20911
Reviewed by:	Jim Housley <jim@thehousleys.net>
This commit is contained in:
Bill Fenner 2000-08-30 23:09:34 +00:00
parent 90307f6d47
commit c4b3e179e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32139

View File

@ -22,6 +22,9 @@ APXS= ${LOCALBASE}/sbin/apxs
AP_PORT?= apache13
.if exists(${APXS})
APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no
.endif
.if exists(${APXS}) && ${APXS_WORKS} != no
AP_TARGET!= ${APXS} -q TARGET
AP_SYSCONF!= ${APXS} -q SYSCONFDIR
AP_INCLUDE!= ${APXS} -q INCLUDEDIR