mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
x11-toolkits/fox16: Genericize llvm16 fix from [1]
Checking against the operating system version doesn't make much sense to me since the problem will return if not using the base compiler. This change will also suppress warnings when building with older versions of Clang. [1] https://cgit.freebsd.org/ports/commit/?id=abad80143b961d4b2431114a4a5160d0efd04284
This commit is contained in:
parent
7d30ecf443
commit
c1e480fdca
@ -23,7 +23,7 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-opengl --with-x --with-xim
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CPPFLAGS+= -fPIC
|
||||
CPPFLAGS+= -fPIC -Dregister=
|
||||
|
||||
PLIST_SUB= MAJORVER="${MAJORVER}"
|
||||
|
||||
@ -83,10 +83,6 @@ CXXFLAGS+= -fexpensive-optimizations -finline-functions
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Rename man pages as in manpage.1 --> manpage-16.1 to avoid
|
||||
# conflicts with fox14 and fox17
|
||||
|
Loading…
Reference in New Issue
Block a user