mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Handle the case when dtrace build is disabled (WITHOUT_CDDL=yes)
Approved by: swills
This commit is contained in:
parent
7c6916706a
commit
8dcbb209b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372304
@ -86,7 +86,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
.if ${OPSYS} == "FreeBSD"
|
||||
.if (${ARCH} == "i386" && ${OSVERSION} > 1010000) || (${ARCH} == "amd64" && ${OSVERSION} > 903000)
|
||||
.if exists(/usr/sbin/dtrace) && \
|
||||
((${ARCH} == "i386" && ${OSVERSION} > 1010000) || \
|
||||
(${ARCH} == "amd64" && ${OSVERSION} > 903000))
|
||||
CONFIGURE_ARGS+= --enable-dtrace
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-dtrace
|
||||
|
Loading…
Reference in New Issue
Block a user