aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2008-01-17 15:37:05 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2008-01-17 15:37:05 +0000
commit8b8c94b16718485a96095437b60d73684beeb76e (patch)
tree8d751974b43254b08bb5c05a3d92b66de3525f29 /devel
parent1b492e1390883c05492b967820f5256ce3debff2 (diff)
downloadports-8b8c94b16718485a96095437b60d73684beeb76e.tar.gz
ports-8b8c94b16718485a96095437b60d73684beeb76e.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libcwd/Makefile8
-rw-r--r--devel/libcwd/files/patch-elfxx.cc20
2 files changed, 21 insertions, 7 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile
index 43c7c8a11353..3720e01e4ff0 100644
--- a/devel/libcwd/Makefile
+++ b/devel/libcwd/Makefile
@@ -20,12 +20,6 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= does not compile on sparc64
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's,test x"\$$libcwd_config_alloc" = x"yes",false,g' \
-E -e 's,^(DEFS=)(.*),\1"\2 -D__GNU_LIBRARY__=yes",g' \
@@ -42,4 +36,4 @@ post-patch:
pre-configure:
@${CP} ${LTMAIN} ${WRKSRC}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/libcwd/files/patch-elfxx.cc b/devel/libcwd/files/patch-elfxx.cc
new file mode 100644
index 000000000000..408c85b0cb4e
--- /dev/null
+++ b/devel/libcwd/files/patch-elfxx.cc
@@ -0,0 +1,20 @@
+Index: elfxx.cc
+===================================================================
+--- elfxx.cc (revision 1343)
++++ elfxx.cc (working copy)
+@@ -1382,13 +1382,13 @@
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
+ ELFDATA2LSB
+ #elif __BYTE_ORDER == __BIG_ENDIAN
+- ELFDATAMSB
++ ELFDATA2MSB
+ #else
+ ELFDATANONE
+ #endif
+ #else // !__BYTE_ORDER
+ #ifdef WORDS_BIGENDIAN
+- ELFDATAMSB
++ ELFDATA2MSB
+ #else
+ ELFDATA2LSB
+ #endif