mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Reinstate the check for PACKAGE_BUILDING.
It should not have been removed, we still want to build the documentation when creating packages.
This commit is contained in:
parent
404e5f1353
commit
63662f803e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390565
@ -30,6 +30,10 @@ DOXYGEN_CMAKE_ON= -DWITH_DOC:BOOL=TRUE
|
||||
DOXYGEN_CMAKE_OFF= -DWITH_DOC:BOOL=FALSE
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
OPTIONS_DEFAULT+= DOXYGEN
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/add_subdirectory(tests)/ d' \
|
||||
-e '/add_subdirectory(tools)/ d' \
|
||||
|
Loading…
Reference in New Issue
Block a user