diff options
-rw-r--r-- | devel/codeblocks/Makefile | 16 | ||||
-rw-r--r-- | devel/codeblocks/pkg-plist | 4 |
2 files changed, 15 insertions, 5 deletions
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile index 9ce09385ef15..9cd199e17203 100644 --- a/devel/codeblocks/Makefile +++ b/devel/codeblocks/Makefile @@ -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 <bsd.port.mk> +.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> diff --git a/devel/codeblocks/pkg-plist b/devel/codeblocks/pkg-plist index 3f39b2ba41c0..cf1e38f1b61f 100644 --- a/devel/codeblocks/pkg-plist +++ b/devel/codeblocks/pkg-plist @@ -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 |