mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
ffcf38ec32
/usr/bin/c++ -DINSTALL_PREFIX=\"/usr/local\" -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D__WXGTK__ -I/usr/local/include -I/usr/local/include/SFML -I/usr/local/include/freetype2 -I/wrkdirs/usr/ports/games/slade/work/SLADE-3.1.4/src/. -I/wrkdirs/usr/ports/games/slade/work/SLADE-3.1.4/src/./External/dumb -I/wrkdirs/usr/ports/games/slade/work/SLADE-3.1.4/src/./Application -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -isystem /usr/local/lib/wx/include/gtk3-unicode-3.0 -isystem /usr/local/include/wx-3.0 -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++11 -pthread -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++11 -Qunused-arguments -include /wrkdirs/usr/ports/games/slade/work/.build/src/cotire/slade_CXX_prefix.hxx -std=gnu++14 -MD -MT src/CMakeFiles/slade.dir/OpenGL/Drawing.o -MF src/CMakeFiles/slade.dir/OpenGL/Drawing.o.d -o src/CMakeFiles/slade.dir/OpenGL/Drawing.o -c /wrkdirs/usr/ports/games/slade/work/SLADE-3.1.4/src/OpenGL/Drawing.cpp In file included from /wrkdirs/usr/ports/games/slade/work/SLADE-3.1.4/src/OpenGL/Drawing.cpp:47: In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:30: In file included from /usr/local/include/gtk-2.0/gdk/gdk.h:32: In file included from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In file included from /usr/local/include/gtk-2.0/gdk/gdkscreen.h:32: /usr/local/include/gtk-2.0/gdk/gdktypes.h:69:36: error: typedef redefinition with different types ('struct _GdkRectangle' vs 'cairo_rectangle_int_t' (aka '_cairo_rectangle_int')) typedef struct _GdkRectangle GdkRectangle; ^ /usr/local/include/wx-3.0/wx/gtk/dvrenderers.h:16:35: note: previous definition is here typedef cairo_rectangle_int_t GdkRectangle; Reported by: pkg-fallout
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slade
|
|
PORTVERSION= 3.1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Modern editor for Doom-engine based games and source ports
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BROKEN= fails to build
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libsfml-system.so:devel/sfml \
|
|
libftgl.so:graphics/ftgl \
|
|
libfreeimage.so:graphics/freeimage
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sirjuddington
|
|
GH_PROJECT= ${PORTNAME:tu}
|
|
|
|
USES= cmake compiler:c++11-lib gl pkgconfig
|
|
USE_WX= 3.0+
|
|
USE_GL= glew
|
|
USE_CXXSTD= c++11
|
|
|
|
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="${WX_CONFIG}" \
|
|
-DWX_GTK3:BOOL=OFF -DNO_WEBVIEW:BOOL=ON
|
|
|
|
PLIST_FILES= bin/slade share/slade3/slade.pk3 \
|
|
share/appdata/net.mancubus.SLADE.appdata.xml \
|
|
share/applications/net.mancubus.SLADE.desktop \
|
|
share/icons/net.mancubus.SLADE.png
|
|
|
|
OPTIONS_DEFINE= FLUIDSYNTH
|
|
OPTIONS_DEFAULT= FLUIDSYNTH
|
|
|
|
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
|
FLUIDSYNTH_RUN_DEPENDS= ${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont
|
|
FLUIDSYNTH_CMAKE_OFF= -DNO_FLUIDSYNTH:BOOL=ON
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,"alsa","oss", ; \
|
|
/share\/sounds\/sf2/s,/usr,${LOCALBASE},g' \
|
|
${WRKSRC}/src/Audio/MIDIPlayer.cpp
|
|
@${REINPLACE_CMD} -e 's,OpenBSD,${OPSYS},' \
|
|
${WRKSRC}/src/External/zreaders/portable_endian.h
|
|
@${REINPLACE_CMD} -e 's,wxVSCROLL,static_cast<long>(&),' \
|
|
${WRKSRC}/src/MapEditor/UI/Dialogs/ActionSpecialDialog.cpp
|
|
|
|
.include <bsd.port.mk>
|