aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-07-05 05:26:43 +0800
committerpawel <pawel@FreeBSD.org>2012-07-05 05:26:43 +0800
commit98e1b82167fa7168ef8601176924fbfd37107a14 (patch)
tree7252ef787c65d69652d10543462c24e428bd5bc2
parent9a1b04ed66ee189bf139f7400b825b9efc3f1862 (diff)
downloadfreebsd-ports-gnome-98e1b82167fa7168ef8601176924fbfd37107a14.tar.gz
freebsd-ports-gnome-98e1b82167fa7168ef8601176924fbfd37107a14.tar.zst
freebsd-ports-gnome-98e1b82167fa7168ef8601176924fbfd37107a14.zip
Remove -Werror from compiler flags to fix build with clang
-rw-r--r--x11-toolkits/blt/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index 90c60cf9dd25..9e0fb4a16426 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -30,16 +30,13 @@ USE_AUTOTOOLS= libtool
WRKSRC= ${WRKDIR}/blt2.4z
GNU_CONFIGURE= yes
-CFLAGS+= -Wall -Wno-uninitialized -DWERROR
+CFLAGS+= -Wall -Wno-uninitialized
CFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
MAKE_JOBS_SAFE= yes
USE_TK= 82+
USE_XORG= x11
-post-configure:
- ${REINPLACE_CMD} 's,-DWERROR,-Werror,' ${WRKSRC}/src/Makefile
-
post-install:
${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so
${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so