diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-27 18:53:11 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-27 18:53:11 +0000 |
commit | a3d5906f5ee7283e31947012241a392ae921ed52 (patch) | |
tree | 02adcc16b4871751111ab6a546c78426362963af /emulators/dlx | |
parent | fix plist by removing a recursively-linked file (diff) |
unbroken by fixing values.h bug
Submitted by: bento log
Notes
Notes:
svn path=/head/; revision=67172
Diffstat (limited to 'emulators/dlx')
-rw-r--r-- | emulators/dlx/Makefile | 8 | ||||
-rw-r--r-- | emulators/dlx/files/patch-ab | 22 | ||||
-rw-r--r-- | emulators/dlx/pkg-plist | 10 |
3 files changed, 28 insertions, 12 deletions
diff --git a/emulators/dlx/Makefile b/emulators/dlx/Makefile index d8e68ace4894..f7e5bfae06db 100644 --- a/emulators/dlx/Makefile +++ b/emulators/dlx/Makefile @@ -15,8 +15,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org -BROKEN= "Broken by removal of values.h" - .if ${MACHINE_ARCH} == alpha BROKEN= will not build on alpha .endif @@ -32,13 +30,13 @@ do-build: do-install: @cd ${WRKSRC}/gcc ; make prefix=${PREFIX} INSTALLDIR=${PREFIX}/bin install - @strip ${PREFIX}/bin/dlxcc ${PREFIX}/bin/dlx-gcc-cc1 \ + @${STRIP_CMD} ${PREFIX}/bin/dlxcc ${PREFIX}/bin/dlx-gcc-cc1 \ ${PREFIX}/bin/dlx-gcc-cpp ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlxsim ${PREFIX}/bin @cd ${WRKSRC}/man ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/dlx - @${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/* ${PREFIX}/share/doc/dlx + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/dlxsim/doc/* ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/emulators/dlx/files/patch-ab b/emulators/dlx/files/patch-ab index cfb3cd968c4e..fea0f9e18d8f 100644 --- a/emulators/dlx/files/patch-ab +++ b/emulators/dlx/files/patch-ab @@ -1,5 +1,23 @@ ---- dlxsim/sim.c.orig Wed May 8 13:37:56 1991 -+++ dlxsim/sim.c Sat Dec 26 13:08:12 1998 +--- dlxsim/sim.c.orig Thu May 9 04:37:56 1991 ++++ dlxsim/sim.c Sat Sep 28 02:42:32 2002 +@@ -22,7 +22,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <values.h> ++#include <limits.h> + #include <tcl.h> + #include "asm.h" + #include "dlx.h" +@@ -2522,7 +2522,7 @@ + break; + } + +- for (i = 0, soonest = MAXINT; i < num_units; i++) { ++ for (i = 0, soonest = INT_MAX; i < num_units; i++) { + if (!(j = machPtr->fp_units[unitType][i])) break; + else if (j < soonest) soonest = j; + } @@ -2833,7 +2833,7 @@ static char *errstring() { diff --git a/emulators/dlx/pkg-plist b/emulators/dlx/pkg-plist index 6b61fe6f6dea..bdd3db8cf817 100644 --- a/emulators/dlx/pkg-plist +++ b/emulators/dlx/pkg-plist @@ -3,8 +3,8 @@ bin/dlxsim bin/dlxcc bin/dlx-gcc-cc1 bin/dlx-gcc-cpp -share/doc/dlx/dlxsim.tex -share/doc/dlx/manual.tex -share/doc/dlx/report.tex -share/doc/dlx/report2.tex -@dirrm share/doc/dlx +%%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 |