mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
graphics/podofo: Adjust 20e8b42e2b
This commit is contained in:
parent
f3d30e7cfe
commit
da98a63b3d
@ -22,13 +22,6 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
USES= cmake compiler:c++17-lang cpe gnome localbase:ldflags pkgconfig ssl
|
||||
USE_GNOME= libxml2
|
||||
|
||||
# Clean up bundled libraries
|
||||
EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fast_float.h \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/date \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fmt \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/utf8cpp \
|
||||
--no-same-owner --no-same-permissions
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include/fast_float
|
||||
CMAKE_ARGS= -DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \
|
||||
-DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \
|
||||
@ -53,4 +46,19 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png
|
||||
TIFF_CMAKE_BOOL= WANT_TIFF
|
||||
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
|
||||
|
||||
# Clean up bundled libraries
|
||||
.if !defined(MAINTAINER_MODE)
|
||||
EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fast_float.h \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/date \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fmt \
|
||||
--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/utf8cpp \
|
||||
--no-same-owner --no-same-permissions
|
||||
.else
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/3rdparty/fast_float.h
|
||||
@${RM} -r ${WRKSRC}/3rdparty/date/
|
||||
@${RM} -r ${WRKSRC}/3rdparty/fmt/
|
||||
@${RM} -r ${WRKSRC}/3rdparty/utf8cpp/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user