diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-01-28 12:25:44 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-01-28 12:25:44 +0000 |
commit | 9d568474bfce668d6e38dbc3d06ce48da0248e30 (patch) | |
tree | 862e9ae855d61dd1ab3c9e42b162b7a27fa0b74b /textproc/dictfmt | |
parent | b4334e3825f85f0b242dede567b17c9148361eec (diff) | |
download | ports-9d568474bfce668d6e38dbc3d06ce48da0248e30.tar.gz ports-9d568474bfce668d6e38dbc3d06ce48da0248e30.zip |
Unbreak on sparc64
PR: ports/76627
Submitted by: Johan van Selst
Notes
Notes:
svn path=/head/; revision=127543
Diffstat (limited to 'textproc/dictfmt')
-rw-r--r-- | textproc/dictfmt/Makefile | 8 | ||||
-rw-r--r-- | textproc/dictfmt/files/patch-decl.h | 11 | ||||
-rw-r--r-- | textproc/dictfmt/files/patch-libmaa::decl.h | 11 |
3 files changed, 23 insertions, 7 deletions
diff --git a/textproc/dictfmt/Makefile b/textproc/dictfmt/Makefile index 8378c4e0e72b..11e5e3e3425e 100644 --- a/textproc/dictfmt/Makefile +++ b/textproc/dictfmt/Makefile @@ -32,10 +32,4 @@ PLIST_FILES= bin/dictfmt bin/dictfmt_index2suffix bin/dictfmt_index2word \ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/dictfmt/files/patch-decl.h b/textproc/dictfmt/files/patch-decl.h new file mode 100644 index 000000000000..8ffcc824f1fb --- /dev/null +++ b/textproc/dictfmt/files/patch-decl.h @@ -0,0 +1,11 @@ +--- decl.h Mon Jan 24 18:44:03 2005 ++++ decl.h Mon Jan 24 18:32:44 2005 +@@ -28,7 +28,7 @@ + declarations for standard library calls. We provide them here for + situations that we know about. */ + +-#if defined(__sparc__) && !defined(__linux__) ++#if defined(__sparc__) && !defined(__linux__) && !defined(__FreeBSD__) + /* Both SunOS and Solaris */ + extern int getrusage( int who, struct rusage * ); + extern void bcopy( const void *, void *, int ); diff --git a/textproc/dictfmt/files/patch-libmaa::decl.h b/textproc/dictfmt/files/patch-libmaa::decl.h new file mode 100644 index 000000000000..d311bc6e6c58 --- /dev/null +++ b/textproc/dictfmt/files/patch-libmaa::decl.h @@ -0,0 +1,11 @@ +--- libmaa/decl.h Mon Jan 24 18:39:34 2005 ++++ libmaa/decl.h Mon Jan 24 18:38:24 2005 +@@ -28,7 +28,7 @@ + declarations for standard library calls. We provide them here for + situations that we know about. */ + +-#if defined(__sparc__) && !defined(linux) ++#if defined(__sparc__) && !defined(linux) && !defined(__FreeBSD__) + #include <sys/resource.h> + /* Both SunOS and Solaris */ + extern int getrusage( int who, struct rusage * ); |