From owner-svn-ports-all@freebsd.org Sat Aug 15 22:47:31 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B6AD3A9222; Sat, 15 Aug 2020 22:47:31 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BTb6W3SZHz4qVl; Sat, 15 Aug 2020 22:47:31 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3B60D2665A; Sat, 15 Aug 2020 22:47:31 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07FMlVOo044666; Sat, 15 Aug 2020 22:47:31 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07FMlUXt044664; Sat, 15 Aug 2020 22:47:30 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202008152247.07FMlUXt044664@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 15 Aug 2020 22:47:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545078 - head/devel/codeblocks X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/devel/codeblocks X-SVN-Commit-Revision: 545078 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2020 22:47:31 -0000 Author: pkubaj Date: Sat Aug 15 22:47:30 2020 New Revision: 545078 URL: https://svnweb.freebsd.org/changeset/ports/545078 Log: devel/codeblocks: fix build on non-x86 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 Modified: head/devel/codeblocks/Makefile head/devel/codeblocks/pkg-plist Modified: head/devel/codeblocks/Makefile ============================================================================== --- head/devel/codeblocks/Makefile Sat Aug 15 22:39:44 2020 (r545077) +++ head/devel/codeblocks/Makefile Sat Aug 15 22:47:30 2020 (r545078) @@ -26,8 +26,8 @@ USE_WX= 3.0+ USE_GNOME= gtk30 cairo USE_XORG= x11 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all \ - --disable-pch --with-boost-system=boost_system +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 @@ -35,4 +35,14 @@ USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -.include +.include + +.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 Modified: head/devel/codeblocks/pkg-plist ============================================================================== --- head/devel/codeblocks/pkg-plist Sat Aug 15 22:39:44 2020 (r545077) +++ head/devel/codeblocks/pkg-plist Sat Aug 15 22:47:30 2020 (r545078) @@ -355,7 +355,7 @@ lib/codeblocks/plugins/libcompiler.so lib/codeblocks/plugins/libcopystrings.so lib/codeblocks/plugins/libdebugger.so lib/codeblocks/plugins/libdefaultmimehandler.so -lib/codeblocks/plugins/libdragscroll.so +%%X86%%lib/codeblocks/plugins/libdragscroll.so lib/codeblocks/plugins/libenvvars.so lib/codeblocks/plugins/libexporter.so lib/codeblocks/plugins/libheaderfixup.so @@ -632,7 +632,7 @@ share/applications/codeblocks.desktop %%DATADIR%%/copystrings.zip %%DATADIR%%/debugger.zip %%DATADIR%%/defaultmimehandler.zip -%%DATADIR%%/dragscroll.zip +%%X86%%%%DATADIR%%/dragscroll.zip %%DATADIR%%/envvars.zip %%DATADIR%%/exporter.zip %%DATADIR%%/headerfixup.zip