mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix build with clang11/gcc10
This commit is contained in:
parent
278b470b40
commit
f4d4c0001a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548676
@ -19,11 +19,11 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/mandoc
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CFLAGS+= -I${LOCALBASE}/include -fcommon # clang11/gcc10
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \
|
||||
-e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \
|
||||
${WRKSRC}/Makefile.local
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user