diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-01-30 10:30:07 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-01-30 10:30:07 +0000 |
commit | 253cf23efaecc4ca9151bb80702e0bf80cf2273a (patch) | |
tree | 9ed01ae7342bbdc28cd28d78a0d8964955f9ab47 /cad/iverilog | |
parent | dc6e53815bdc7504667e46c44baa8faa6db4ceca (diff) | |
download | ports-253cf23efaecc4ca9151bb80702e0bf80cf2273a.tar.gz ports-253cf23efaecc4ca9151bb80702e0bf80cf2273a.zip |
Notes
Diffstat (limited to 'cad/iverilog')
-rw-r--r-- | cad/iverilog/Makefile | 8 | ||||
-rw-r--r-- | cad/iverilog/files/patch-_pli_types.h.in | 25 |
2 files changed, 26 insertions, 7 deletions
diff --git a/cad/iverilog/Makefile b/cad/iverilog/Makefile index d52bdbf98235..684bf4470af6 100644 --- a/cad/iverilog/Makefile +++ b/cad/iverilog/Makefile @@ -21,10 +21,4 @@ GNU_CONFIGURE= yes MAN1= iverilog-vpi.1 iverilog.1 vvp.1 iverilog-fpga.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} <= 500000 -BROKEN= "Does not install on FreeBSD ${OSVERSION}" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/cad/iverilog/files/patch-_pli_types.h.in b/cad/iverilog/files/patch-_pli_types.h.in new file mode 100644 index 000000000000..cb9768d0d4d6 --- /dev/null +++ b/cad/iverilog/files/patch-_pli_types.h.in @@ -0,0 +1,25 @@ +--- _pli_types.h.in Wed Nov 12 11:38:44 2003 ++++ _pli_types.h.in.new Fri Jan 30 01:44:38 2004 +@@ -45,7 +45,21 @@ + typedef signed char PLI_BYTE8; + typedef unsigned char PLI_UBYTE8; + +-# define PLI_UINT64_FMT PRIu64 ++#ifndef PRIu64 ++ ++#if defined(__i386__) || defined(__powerpc__) ++#define PLI_UINT64_FMT "llu" ++#endif /* defined(__i386__) || defined(__powerpc__) */ ++ ++#if defined(__sparc64__) || defined(__alpha__) || defined(__amd64__) || defined(__ia64__) ++#define PLI_UINT64_FMT "lu" ++#endif /* defined(__sparc64__) || defined(__alpha__) || defined(__amd64__) || defined(__ia64__) */ ++ ++#else /* PRIu64 defined */ ++ ++#define PLI_UINT64_FMT PRIu64 ++ ++#endif /* PRIu64 */ + + #else + |