mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build with clang
PR: 185708 Submitted by: ports fury
This commit is contained in:
parent
c24323ef82
commit
b5e3bad02a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340305
@ -11,15 +11,16 @@ DISTNAME= ViewKlass-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= C++ Framework for Motif
|
||||
|
||||
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
||||
LICENSE= LGPL20 # (or later)
|
||||
|
||||
USES= motif
|
||||
GNU_CONFIGURE= yes
|
||||
USES= imake:env motif
|
||||
USE_AUTOTOOLS= autoconf213
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
|
||||
s/^CXXFLAGS=/CXXFLAGS+=/g ; \
|
||||
s/-g -Wall//g' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^CFLAGS=/s|-g|@CFLAGS@| ; \
|
||||
/^CXXFLAGS=/s|-g|@CXXFLAGS@| ; \
|
||||
s| $$(exec_prefix)| $$(DESTDIR)$$(exec_prefix)| ; \
|
||||
s| $$(prefix)| $$(DESTDIR)$$(prefix)|' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11-toolkits/viewklass/files/patch-VkProgram.C
Normal file
11
x11-toolkits/viewklass/files/patch-VkProgram.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- VkProgram.C.orig
|
||||
+++ VkProgram.C
|
||||
@@ -34,6 +34,8 @@
|
||||
#endif
|
||||
= "$Id: VkProgram.C,v 1.8 2009/03/21 11:44:34 jostle Exp $";
|
||||
|
||||
+#include <cstdlib>
|
||||
+
|
||||
#include <Vk/VkProgram.h>
|
||||
|
||||
using namespace std;
|
Loading…
Reference in New Issue
Block a user