diff options
author | leeym <leeym@FreeBSD.org> | 2004-11-04 23:19:13 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-11-04 23:19:13 +0800 |
commit | 1f1f42b4b8edcb5f9a5fc60968eb790c3ca94c23 (patch) | |
tree | c108ee63ebb501e51e312662301890e463f8a61a /emulators/dlx | |
parent | cc3026e5c1e0bcf43ad35104a37341321b71bd23 (diff) | |
download | freebsd-ports-gnome-1f1f42b4b8edcb5f9a5fc60968eb790c3ca94c23.tar.gz freebsd-ports-gnome-1f1f42b4b8edcb5f9a5fc60968eb790c3ca94c23.tar.zst freebsd-ports-gnome-1f1f42b4b8edcb5f9a5fc60968eb790c3ca94c23.zip |
- Add USE_GCC=2.95 and unbreak it on i386-current.
Diffstat (limited to 'emulators/dlx')
-rw-r--r-- | emulators/dlx/Makefile | 36 | ||||
-rw-r--r-- | emulators/dlx/pkg-plist | 5 |
2 files changed, 16 insertions, 25 deletions
diff --git a/emulators/dlx/Makefile b/emulators/dlx/Makefile index afcf0ef0b361..fd8eed07bf42 100644 --- a/emulators/dlx/Makefile +++ b/emulators/dlx/Makefile @@ -14,36 +14,32 @@ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org -COMMENT= Assembler for Hennessy and Patterson's DLX architecture +COMMENT= "Assembler for Hennessy and Patterson's DLX architecture" -.include <bsd.port.pre.mk> - -.if ${ARCH} != i386 -BROKEN= will not build on ${ARCH} -.endif - -.if ${OSVERSION} > 500000 -BROKEN= does not build on -current -.endif +ONLY_FOR_ARCHS= i386 +USE_GCC= 2.95 +MAKE_ENV= prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin +PORTDOCS= dlxsim.tex manual.tex report.tex report2.tex MAN1= dlxcc.1 do-configure: - cd ${WRKSRC}/gcc ; ./config.gcc dlx + cd ${WRKSRC}/gcc && ./config.gcc dlx do-build: - cd ${WRKSRC}/dlxsim ; make install - cd ${WRKSRC}/gcc ; make prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin + cd ${WRKSRC}/dlxsim && ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET} + cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${MAKE} do-install: - @cd ${WRKSRC}/gcc ; make prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin install - @${STRIP_CMD} ${PREFIX}/bin/dlxcc ${PREFIX}/bin/dlx-gcc-cc1 \ - ${PREFIX}/bin/dlx-gcc-cpp + cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET} + cd ${PREFIX}/bin && ${STRIP_CMD} dlxcc dlx-gcc-cc1 dlx-gcc-cpp ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlxsim ${PREFIX}/bin - @cd ${WRKSRC}/man ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/* ${DOCSDIR} + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/${f} ${DOCSDIR} +.endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/emulators/dlx/pkg-plist b/emulators/dlx/pkg-plist index bdd3db8cf817..ac46f056f956 100644 --- a/emulators/dlx/pkg-plist +++ b/emulators/dlx/pkg-plist @@ -3,8 +3,3 @@ bin/dlxsim bin/dlxcc bin/dlx-gcc-cc1 bin/dlx-gcc-cpp -%%PORTDOCS%%share/doc/dlx/dlxsim.tex -%%PORTDOCS%%share/doc/dlx/manual.tex -%%PORTDOCS%%share/doc/dlx/report.tex -%%PORTDOCS%%share/doc/dlx/report2.tex -%%PORTDOCS%%@dirrm share/doc/dlx |