summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-06-18 16:46:51 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-06-18 16:46:51 +0000
commitdc6c3b758617609f5636086e6e48774106b03185 (patch)
tree20fea0ab0e1dfaf9cd4d5d4254ee85cc629ec06b /x11
parent5578e40fa2f8baf517a408cfcbecd1e0ea5cdc4d (diff)
downloadfreebsd-ports-dc6c3b758617609f5636086e6e48774106b03185.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