mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix build on -current
PR: 58878 Submitted by: Ports Fury
This commit is contained in:
parent
35a4f6423d
commit
f8e330008e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92988
@ -19,22 +19,23 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GNOME= gdkpixbuf
|
||||
USE_GNOME= gdkpixbuf gnometarget
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 501000
|
||||
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
|
||||
.endif
|
||||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|pixmaps/[\$$]PACKAGE|\$$PACKAGE|g ; \
|
||||
s|-O3|\$$CFLAGS|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|pixmaps/$$PACKAGE|$$PACKAGE|g ; \
|
||||
s|-O3|$$CFLAGS|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|"\./pixmaps/|PIXMAPDIR "/|g' ${WRKSRC}/src/callbacks.c
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|exit()|exit(0)|g' ${WRKSRC}/src/proc.c
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|/share/pixmaps|/share|g'
|
||||
.for file in src/lexer.en.l src/lexer.fr.l
|
||||
@${REINPLACE_CMD} -e 's|\.##|.|g' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user