diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-28 02:53:11 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-28 02:53:11 +0800 |
commit | eb2367d02f3a51b9d78cce0ba51b7aee38418c95 (patch) | |
tree | 111ec5dbadf82b251afb68c74f3b1b952bc3aea6 /emulators | |
parent | acf82863a64805552af168312a012223c0bd1781 (diff) | |
download | freebsd-ports-gnome-eb2367d02f3a51b9d78cce0ba51b7aee38418c95.tar.gz freebsd-ports-gnome-eb2367d02f3a51b9d78cce0ba51b7aee38418c95.tar.zst freebsd-ports-gnome-eb2367d02f3a51b9d78cce0ba51b7aee38418c95.zip |
unbroken by fixing values.h bug
Submitted by: bento log
Diffstat (limited to 'emulators')
-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 |