mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
x11-fm/fsv2: Fix build with llvm16
- Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b71fa5b6b7
commit
7fdc5a965b
@ -18,19 +18,27 @@ LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \
|
||||
|
||||
USES= compiler:c++11-lang tar:bzip2 libtool gettext-runtime gl gnome \
|
||||
pkgconfig
|
||||
USE_GL= gl glu
|
||||
USE_GNOME= gtkmm24 atkmm glibmm pangomm cairomm libsigc++20 gtk20 atk \
|
||||
cairo gdkpixbuf2
|
||||
USE_GL= gl glu
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.include <bsd.port.mk>
|
||||
post-patch:
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
@${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \
|
||||
${WRKSRC}/uilib/ColorCellRenderer.cpp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user