forked from Lainports/freebsd-ports
dragscroll module uses x86 assembly, disable it on non-x86 architectures:
libtool: compile: g++9 -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -D_THREAD_SAFE -I../../../../src/include -I../../../../src/src -I../../../../src/sdk/wxscintilla/include -DCB_AUTOCONF -isystem /usr/local/include -DPIC -I../../../../src/include/tinyxml -DTIXML_USE_STL=YES -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -Wl,-rpath=/usr/local/lib/gcc9 -isystem /usr/local/include -fPIC -fexceptions -MT dragscrollcfg.lo -MD -MP -MF .deps/dragscrollcfg.Tpo -c dragscrollcfg.cpp -fPIC -DPIC -o .libs/dragscrollcfg.o
--- dragscrollcfg.lo ---
{standard input}: Assembler messages:
{standard input}:1398: Error: unrecognized opcode: `int3'
*** [dragscrollcfg.lo] Error code 1
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# Created by: Matthias Sund <m.sund@arcor.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= codeblocks
|
|
PORTVERSION= 20.03
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
|
|
|
|
MAINTAINER= lbartoletti@FreeBSD.org
|
|
COMMENT= Open source, cross-platform, free C/C++ IDE
|
|
|
|
LICENSE= GPLv3 LGPL3
|
|
LICENSE_COMB= multi
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libhunspell-1.7.so:textproc/hunspell \
|
|
libtinyxml.so:textproc/tinyxml
|
|
|
|
USES= autoreconf compiler:c++11-lang desktop-file-utils \
|
|
fam:gamin gettext-runtime gnome libtool localbase \
|
|
pathfix pkgconfig shared-mime-info tar:xz xorg
|
|
USE_WX= 3.0+
|
|
USE_GNOME= gtk30 cairo
|
|
USE_XORG= x11
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --disable-pch \
|
|
--with-boost-system=boost_system
|
|
PKG_CONFIG_LIBDIR= ${LOCALBASE}/libdata/pkgconfig
|
|
INSTALLS_ICONS= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
|
CONFIGURE_ARGS+= --with-contrib-plugins=all,-dragscroll
|
|
PLIST_SUB= X86="@comment "
|
|
.else
|
|
CONFIGURE_ARGS+= --with-contrib-plugins=all
|
|
PLIST_SUB= X86=""
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|