1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Remove -Werror from compiler flags to fix build with clang

This commit is contained in:
Pawel Pekala 2012-07-04 21:26:43 +00:00
parent b78de10aa8
commit dea56c0f03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300495

View File

@ -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