aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libcwd
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-07-15 13:13:54 +0800
committermiwi <miwi@FreeBSD.org>2010-07-15 13:13:54 +0800
commitf46772518d535b37040105e6e060e7484d1178a6 (patch)
treeebefee973acd1249a573deadf292be680d4db7e9 /devel/libcwd
parentf625658875a5f590f4f4e0cb0116c6e4b4c0d9ad (diff)
downloadfreebsd-ports-gnome-f46772518d535b37040105e6e060e7484d1178a6.tar.gz
freebsd-ports-gnome-f46772518d535b37040105e6e060e7484d1178a6.tar.zst
freebsd-ports-gnome-f46772518d535b37040105e6e060e7484d1178a6.zip
- Update to 1.0.4
PR: 148547 Submitted by: Ports Fury
Diffstat (limited to 'devel/libcwd')
-rw-r--r--devel/libcwd/Makefile27
-rw-r--r--devel/libcwd/distinfo6
-rw-r--r--devel/libcwd/pkg-plist2
3 files changed, 13 insertions, 22 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile
index 5d0182fa3036..da3bed3d8841 100644
--- a/devel/libcwd/Makefile
+++ b/devel/libcwd/Makefile
@@ -7,33 +7,24 @@
#
PORTNAME= libcwd
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= The C++ Debugging Support Library
-USE_AUTOTOOLS= libtool:22
-CONFIGURE_ARGS= --disable-threading --disable-pch --disable-location
+USE_GNOME= gnomehack pkgconfig
USE_GMAKE= yes
-USE_GNOME= pkgconfig
+USE_AUTOTOOLS= libtool:22
+CONFIGURE_ARGS= --disable-alloc --disable-location --disable-threading \
+ --disable-pch
USE_LDCONFIG= yes
-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' \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e 's,localtime(,localtime((const time_t *),g' \
- -e 's,malloc\.h,stdlib.h,g' \
- ${WRKSRC}/debugmalloc.cc
- @${REINPLACE_CMD} -E -e 's,\$$\(libdir\)/(pkgconfig),${PREFIX}/libdata/\1,g' \
- ${WRKSRC}/${MAKEFILE}.in
- @${REINPLACE_CMD} -e 's,Elf32_Off,uint32_t,g' ${WRKSRC}/bfd.cc
- @${REINPLACE_CMD} -e 's|--tag=CXX||g' ${WRKSRC}/${MAKEFILE}.in \
- ${WRKSRC}/utils/${MAKEFILE}.in
+CFLAGS+= -D__GNU_LIBRARY__
-pre-configure:
- @${CP} ${LTMAIN} ${WRKSRC}
+post-patch:
+ @${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g ; \
+ s|localtime(|localtime((const time_t *)|g' ${WRKSRC}/debugmalloc.cc
.include <bsd.port.mk>
diff --git a/devel/libcwd/distinfo b/devel/libcwd/distinfo
index 069302249b6d..a430fd822a92 100644
--- a/devel/libcwd/distinfo
+++ b/devel/libcwd/distinfo
@@ -1,3 +1,3 @@
-MD5 (libcwd-1.0.0.tar.gz) = fe4b5af9cea5880abb75d63e40d69f93
-SHA256 (libcwd-1.0.0.tar.gz) = b0c8d2e2b48be36ecf8e543c411e9d14159acd6a5ec5623114f0c3612d629da1
-SIZE (libcwd-1.0.0.tar.gz) = 1854513
+MD5 (libcwd-1.0.4.tar.gz) = e2c9bd567d5152326671eaeca827510a
+SHA256 (libcwd-1.0.4.tar.gz) = 23c6e29d842af9a91ed2a26327c4d3e04ce45b122c9c050fa308e100029e6b1f
+SIZE (libcwd-1.0.4.tar.gz) = 1823868
diff --git a/devel/libcwd/pkg-plist b/devel/libcwd/pkg-plist
index 3ef2d43112b2..9335ac257241 100644
--- a/devel/libcwd/pkg-plist
+++ b/devel/libcwd/pkg-plist
@@ -68,7 +68,7 @@ include/libcwd/type_info.h
lib/libcwd.a
lib/libcwd.la
lib/libcwd.so
-lib/libcwd.so.1
+lib/libcwd.so.2
libdata/pkgconfig/libcwd.pc
libdata/pkgconfig/libcwd_r.pc
%%DATADIR%%/libcwdrc