aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-19 00:46:51 +0800
committerwg <wg@FreeBSD.org>2013-06-19 00:46:51 +0800
commitef46891efcf8266ed7c86660817ffdae191e40e0 (patch)
tree20fea0ab0e1dfaf9cd4d5d4254ee85cc629ec06b /x11
parent0ff200e4f77a9ee3d2511afd54eebb93b0f3763f (diff)
downloadfreebsd-ports-gnome-ef46891efcf8266ed7c86660817ffdae191e40e0.tar.gz
freebsd-ports-gnome-ef46891efcf8266ed7c86660817ffdae191e40e0.tar.zst
freebsd-ports-gnome-ef46891efcf8266ed7c86660817ffdae191e40e0.zip
x11/lxpanel: fix build with clang
- Fix build with clang, -Wno-return-type, gnu89 - Take maintainership Reported by: Kenta Suzumoto <kentas@hush.com> Approved by: culot / jpaetzel (mentors, implicit)
Diffstat (limited to 'x11')
-rw-r--r--x11/lxpanel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile
index bab4471de3f8..e6d96e97e04d 100644
--- a/x11/lxpanel/Makefile
+++ b/x11/lxpanel/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.5.12
CATEGORIES= x11
MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= wg@FreeBSD.org
COMMENT= Lightweight X11 desktop panel
LIB_DEPENDS= menu-cache.1:${PORTSDIR}/x11/menu-cache
@@ -24,7 +24,8 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-plugins=volume,deskno,kbled,xkb,batt\
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CFLAGS+= -I${WRKSRC}
+CFLAGS+= -I${WRKSRC} -Wno-return-type
+USE_CSTD= gnu89
USE_GMAKE= yes
MAN1= lxpanel.1 lxpanelctl.1