mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Remove -Werror from compiler flags to fix build with clang
This commit is contained in:
parent
b78de10aa8
commit
dea56c0f03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300495
@ -30,16 +30,13 @@ USE_AUTOTOOLS= libtool
|
|||||||
|
|
||||||
WRKSRC= ${WRKDIR}/blt2.4z
|
WRKSRC= ${WRKDIR}/blt2.4z
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CFLAGS+= -Wall -Wno-uninitialized -DWERROR
|
CFLAGS+= -Wall -Wno-uninitialized
|
||||||
CFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
|
CFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
|
||||||
MAKE_JOBS_SAFE= yes
|
MAKE_JOBS_SAFE= yes
|
||||||
|
|
||||||
USE_TK= 82+
|
USE_TK= 82+
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
|
|
||||||
post-configure:
|
|
||||||
${REINPLACE_CMD} 's,-DWERROR,-Werror,' ${WRKSRC}/src/Makefile
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so
|
${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so
|
||||||
${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so
|
${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so
|
||||||
|
Loading…
Reference in New Issue
Block a user