1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/irc/srain/Makefile
Mark Linimon d770f79e0b Remove -std=gnu11 from internal compiler flags to attempt to fix build
on GCC-based systems such as powerpc64:

  cc1: error: unrecognized command line option "-std=gnu11"

This is necessary but insufficient.  I have not yet tried the patch
from PR 247107, which may be needed..

Approved by:	portmgr (tier-2 blanket)
2020-06-10 11:26:04 +00:00

39 lines
889 B
Makefile

# $FreeBSD$
PORTNAME= srain
DISTVERSION= 1.1.0
CATEGORIES= irc
MAINTAINER= ashish@FreeBSD.org
COMMENT= Modern IRC client written in GTK
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libconfig.so:devel/libconfig \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup
USES= compiler:c11 gettext-tools gmake gnome pkgconfig ssl
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango
USE_GITHUB= yes
GH_ACCOUNT= SrainApp
GNU_CONFIGURE= yes
MAKE_FLAGS+= MAKE_PROGRAM=${MAKE_CMD}
CONFIGURE_ARGS+= --disable-debug
ALL_TARGET= default
INSTALLS_ICONS= yes
post-patch:
${REINPLACE_CMD} -e '/^MAKE =/s/make/${MAKE_CMD}/' \
${WRKSRC}/Makefile.in
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
${STAGEDIR}${DATADIR}/themes \
${STAGEDIR}${PREFIX}/share/metainfo \
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
.include <bsd.port.mk>