mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Unbreak the build with recent GCC.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus) fjoe (mentor, implicit) maintainer (timeout after 14 days)
This commit is contained in:
parent
58a0ad28e7
commit
7977d7405a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118546
@ -40,12 +40,6 @@ PLIST_SUB+= OPENEXR:=""
|
||||
PLIST_SUB+= OPENEXR:="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's| -Wall||' \
|
||||
@ -55,4 +49,8 @@ post-patch:
|
||||
's|-LINUX.+$$||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|static GDrawableType|static GImageType|' \
|
||||
${WRKSRC}/plug-ins/psd/psd.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user