60f61d1988
Mark FOX17 option broken (Not related to clang 6 in particular, the FOX-1.7 API is ever changing due to being a development version. This project appears to be dead, so I'm not sure it is worth fixing.) recorder.cpp:104:9: error: no matching member function for call to 'prepend' NewMessage(); ^~~~~~~~~~~~ recorder.cpp:51:6: note: expanded from macro 'NewMessage' list.prepend((FXObject*)mm); ~~~~~^~~~~~~ /usr/local/include/fox-1.7/FXObjectList.h:256:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'MacroMessage *' for 1st argument FXbool prepend(TYPE* object){ return FXObjectList::prepend(object); } ^ /usr/local/include/fox-1.7/FXObjectList.h:265:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'const FXObjectListOf<MacroMessage>' for 1st argument FXbool prepend(const FXObjectListOf<TYPE>& objects){ return FXObjectList::prepend(objects); } ^ /usr/local/include/fox-1.7/FXObjectList.h:259:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE* object,FXival n){ return FXObjectList::prepend(object,n); } ^ /usr/local/include/fox-1.7/FXObjectList.h:262:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE** objects,FXival n){ return FXObjectList::prepend(objects,n); } ^ Rename/remake patches
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fxite
|
|
DISTVERSIONPREFIX= FXITE-
|
|
DISTVERSION= 0_92
|
|
PORTREVISION= 4
|
|
CATEGORIES= editors
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Advanced cross-platform text editor
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= yetanothergeek
|
|
|
|
USES= autoreconf desktop-file-utils gettext gmake lua pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-system-lua \
|
|
--with-lua-pkg=lua-${LUA_VER}
|
|
|
|
CXXFLAGS+= -fPIC
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
PLIST_FILES= bin/fxite \
|
|
share/applications/fxite.desktop \
|
|
share/pixmaps/fxite.xpm
|
|
|
|
OPTIONS_SINGLE= TOOLKIT
|
|
OPTIONS_SINGLE_TOOLKIT= FOX16 FOX17
|
|
OPTIONS_DEFAULT= FOX16
|
|
|
|
FOX16_DESC= Fox 1.6 GUI toolkit support
|
|
FOX16_LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16
|
|
FOX16_CONFIGURE_ENV= FOX_CFLAGS="$$(fox-config --cflags)" \
|
|
FOX_LIBS="$$(fox-config --libs)" \
|
|
RESWRAP="${LOCALBASE}/bin/reswrap"
|
|
FOX17_DESC= Fox 1.7 GUI toolkit support
|
|
FOX17_BROKEN= Fails to build: recorder.cpp:104:9: error: no matching member function for call to 'prepend'
|
|
FOX17_LIB_DEPENDS= libFOX-1.7.so:x11-toolkits/fox17
|
|
FOX17_CONFIGURE_ENV= FOX_CFLAGS="$$(pkgconf fox17 --cflags)" \
|
|
FOX_LIBS="$$(pkgconf fox17 --libs) -lX11" \
|
|
RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap"
|
|
TOOLKIT_DESC= GUI toolkit
|
|
|
|
.include <bsd.port.mk>
|