1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

x11/cde: Fix building on FreeBSD 12

Add some missing dependencies and a couple more shebang fixes

PR:		ports/237518
Submitted by:	Thomas Merkel
MFH:		2019Q2 (build fix)
This commit is contained in:
Chris Rees 2019-04-24 19:34:04 +00:00
parent 32daaae72c
commit 88a9eed5e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499898

View File

@ -26,12 +26,15 @@ RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:x11-fonts/fontconfig \
xrdb:x11/xrdb \
xset:x11/xset
USES= iconv motif perl5 shebangfix tcl:85
USES= iconv:wchar_t motif perl5 shebangfix tcl:85
SHEBANG_LANG= pl ksh tcl
SHEBANG_FILES= programs/dtdocbook/sgmls/sgmls.pl \
programs/dtinfo/tools/bin/ccdate
programs/dtinfo/tools/bin/ccdate \
programs/dtdocbook/doc2sdl/docbook.tcl \
programs/dtdocbook/doc2sdl/dtdocbook
USE_LDCONFIG= ${PREFIX}/dt/lib
USE_RC_SUBR= dtcms dtspc
USE_XORG= xinerama xp xt xscrnsaver
USE_XORG= ice sm x11 xau xdmcp xext xinerama xmu xp xscrnsaver xt
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
ALL_TARGET= World
@ -39,12 +42,6 @@ MAKE_ARGS+= PERL=${PERL}
MAKE_JOBS_UNSAFE=yes
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
.if ${OSVERSION} > 1200000
BROKEN= Does not build on head
.endif
post-patch:
@if [ -f /usr/include/iconv.h ]; then \
${REINPLACE_CMD} -e 's!^[[:space:]]*const char .ip = (const char .) .bp!char *ip = *bp!' \