Sprinkle some fixes to make these ports build on ARCH's that don't

have clang as the default compiler.

Submitted by:	jhibbits@
Differential Revision:	https://reviews.freebsd.org/D10628
This commit is contained in:
Koop Mast 2017-05-06 20:13:10 +00:00
parent 6a75b47fc3
commit 9101852052
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440288
6 changed files with 17 additions and 6 deletions

View File

@ -13,7 +13,8 @@ PORTSCOUT= limitw:1,even
LICENSE= LGPL20
USES= gmake localbase libtool pathfix pkgconfig tar:xz
USES= compiler:c++11-lang gmake localbase libtool pathfix \
pkgconfig tar:xz
USE_GNOME= atk glibmm
USE_LDCONFIG= yes
GNU_CONFIGURE= yes

View File

@ -44,4 +44,12 @@ MANPAGE_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \
docbook-xsl>=0:textproc/docbook-xsl
MANPAGES_USE= GNOME=libxslt:build
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc || ${ARCH} == powerpc64
post-patch:
@${REINPLACE_CMD} -e 's|-Wtype-limits||g' \
${WRKSRC}/configure
.endif
.include <bsd.port.mk>

View File

@ -26,8 +26,8 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
# iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo)
# (wchar_t is used by glibmm, rawtherapee triggered this)
USES+= gettext gmake gnome iconv:wchar_t libtool localbase pathfix perl5 \
pkgconfig python shebangfix
USES+= compiler:c11 gettext gmake gnome iconv:wchar_t libtool \
localbase pathfix perl5 pkgconfig python shebangfix
USE_PYTHON= py3kplist
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
--disable-man --without-xml-catalog \

View File

@ -22,7 +22,8 @@ PLIST_SUB= VERSION="2.4"
BUILD_DEPENDS= gm4:devel/m4
USES+= gettext gmake libtool pathfix perl5 pkgconfig
USES+= compiler:c++11-lang gettext gmake libtool pathfix \
perl5 pkgconfig
USE_GNOME= glib20 libsigc++20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix perl5 tar:xz
USES= compiler:c++11-lang gmake libtool pathfix perl5 tar:xz
USE_PERL5= build
USE_LDCONFIG= yes

View File

@ -38,7 +38,8 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango
#gtk-update-icon-cache
USES+= gettext gmake gnome libtool localbase pathfix perl5 pkgconfig
USES+= compiler:c11 gettext gmake gnome libtool localbase \
pathfix perl5 pkgconfig
USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \
xcomposite
CONFIGURE_ARGS= --enable-x11-backend \