1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add a WITH_DRAC knob to enable DRAC support.

Submitted by:	Anders Nordby <anders@fix.no>
This commit is contained in:
Jim Mock 2001-02-09 20:35:19 +00:00
parent 90e4e09986
commit a0357de7cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38145
2 changed files with 18 additions and 0 deletions

View File

@ -21,6 +21,10 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.if defined(WITH_DRAC)
BUILD_DEPENDS= ${PREFIX}/lib/libdrac.a:${PORTSDIR}/mail/drac
.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-flock
@ -40,6 +44,11 @@ CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.endif
.if defined(WITH_DRAC)
CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \
--with-dracinc=${PREFIX}/include
.endif
MAN8= teapop.8
.include <bsd.port.mk>

View File

@ -21,6 +21,10 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.if defined(WITH_DRAC)
BUILD_DEPENDS= ${PREFIX}/lib/libdrac.a:${PORTSDIR}/mail/drac
.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-flock
@ -40,6 +44,11 @@ CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.endif
.if defined(WITH_DRAC)
CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \
--with-dracinc=${PREFIX}/include
.endif
MAN8= teapop.8
.include <bsd.port.mk>