mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
80c17d72de
- Mark BROKEN on 10.x+ It accesses field of structure which was made opaque in r235647 to change internally used file descriptor: cwd.c:892:15: error: incomplete definition of type 'struct _dirdesc' search->dp->dd_fd = squirrel_fd(search->dp->dd_fd); ~~~~~~~~~~^ /usr/include/dirent.h:58:8: note: forward declaration of 'struct _dirdesc' struct _dirdesc; ^ This hack is no longer possible on 10.x+. Doscmd may work fine without it though, but I'm not taking responsibility by blindly removing it. If you know the interlans and can test it, see extra-patch-cwd.c.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= doscmd
|
|
PORTVERSION= 20110826
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= DOS emulator
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
FONTFILES= cp437-8x8.pcf.gz cp437-8x14.pcf.gz cp437-8x16.pcf.gz
|
|
PORTDOCS= PROBLEMS README*
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT= X11
|
|
OPTIONS_SUB= yes
|
|
|
|
X11_USE= XORG=x11
|
|
X11_MAKE_ARGS= X11BASE=${LOCALBASE}
|
|
X11_MAKE_ARGS_OFF= -DNO_X
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012
|
|
# files/extra-patch-cwd.c will fix this, see inside
|
|
BROKEN= does not build (accesses field of opaque structure)
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/emsdriv.sys ${WRKSRC}/redir.com \
|
|
${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
.if ${PORT_OPTIONS:MX11}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/fonts
|
|
${INSTALL_DATA} ${FONTFILES:S,^,${WRKSRC}/,} ${WRKSRC}/fonts.dir \
|
|
${STAGEDIR}${DATADIR}/fonts
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|