svn commit: r320708 - head/x11-wm/afterstep
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jun 12 17:34:18 UTC 2013
Author: bapt
Date: Wed Jun 12 17:34:18 2013
New Revision: 320708
URL: http://svnweb.freebsd.org/changeset/ports/320708
Log:
Fix build with clang
Modified:
head/x11-wm/afterstep/Makefile
Modified: head/x11-wm/afterstep/Makefile
==============================================================================
--- head/x11-wm/afterstep/Makefile Wed Jun 12 17:09:49 2013 (r320707)
+++ head/x11-wm/afterstep/Makefile Wed Jun 12 17:34:18 2013 (r320708)
@@ -22,6 +22,7 @@ MANCOMPRESSED= yes
MAN1= afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1
CONFLICTS?= afterstep-2*
PORTSCOUT= limit:^1\.[0-9.]*$$
+CFLAGS+= -Wno-return-type
SRCDIRS= afterstep \
modules/Animate modules/Audio modules/Auto \
@@ -33,6 +34,9 @@ post-patch:
-e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/configure.h \
${WRKSRC}/sample.steprc
+ ${REINPLACE_CMD} \
+ -e 's/__inline__//g' \
+ ${WRKSRC}/configure.h
@ for i in ${SRCDIRS}; do \
cd ${WRKSRC}/$$i; \
${MV} Imakefile Imakefile.orig; \
More information about the svn-ports-all
mailing list