textproc/simplexml: Remove unnecessary .if defined(WITH_DEBUG)

USES=cmake translates WITH_DEBUG into -DDEBUG_MODE:BOOL=ON automatically.

Approved by:	portmgr blanket
This commit is contained in:
Yuri Victorovich 2019-01-27 18:19:01 +00:00
parent 8a3f3e9b41
commit 4bb1353740
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491375

View file

@ -21,10 +21,6 @@ CMAKE_ARGS= -DIconv_LIBRARY=${ICONV_LIB_PATH}
WRKSRC= ${WRKDIR}/${PORTNAME}
.if defined(WITH_DEBUG)
CMAKE_ARGS+= -DDEBUG_MODE:BOOL=ON
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \
/set.*CMAKE_BUILD_TYPE/d' ${WRKSRC}/CMakeLists.txt