Skip to content

Commit

Permalink
x11-fm/fsv2: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 2, 2023
1 parent b71fa5b commit 7fdc5a9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions x11-fm/fsv2/Makefile
Expand Up @@ -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>

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.mk>
.include <bsd.port.post.mk>

0 comments on commit 7fdc5a9

Please sign in to comment.