aboutsummaryrefslogtreecommitdiff
path: root/devel/libcwd
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-01 01:54:44 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-01 01:54:44 +0000
commit719d3f9a23d916f45caf5cf5e4d523d206a8a983 (patch)
tree3ac6739006f893ebff6dd0a38eb586cfbc9f8b10 /devel/libcwd
parenta511067cd8ace6c399a3f2721c07a0074ea532ac (diff)
downloadports-719d3f9a23d916f45caf5cf5e4d523d206a8a983.tar.gz
ports-719d3f9a23d916f45caf5cf5e4d523d206a8a983.zip
Notes
Diffstat (limited to 'devel/libcwd')
-rw-r--r--devel/libcwd/Makefile13
-rw-r--r--devel/libcwd/distinfo6
2 files changed, 7 insertions, 12 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile
index e3128ae4ec72..8592da72be1c 100644
--- a/devel/libcwd/Makefile
+++ b/devel/libcwd/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= libcwd
-PORTVERSION= 0.99.40
-PORTREVISION= 1
+PORTVERSION= 0.99.44
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,18 +21,14 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig
INSTALLS_SHLIB= yes
USE_GETOPT_LONG=yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-USE_GCC= 3.4
-.endif
+USE_GCC= 3.4+
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
@@ -44,4 +39,4 @@ post-patch:
pre-configure:
@${CP} ${LTMAIN} ${WRKSRC}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/libcwd/distinfo b/devel/libcwd/distinfo
index 2f406ec81b8a..7cfade99be10 100644
--- a/devel/libcwd/distinfo
+++ b/devel/libcwd/distinfo
@@ -1,3 +1,3 @@
-MD5 (libcwd-0.99.40.tar.gz) = 91d055ed1c6e5d47a74c9d49f314a690
-SHA256 (libcwd-0.99.40.tar.gz) = 7bf26c28ceac6a88f424bbb4ed2ccd5afba7c5b441191e678072810d0625638e
-SIZE (libcwd-0.99.40.tar.gz) = 1241873
+MD5 (libcwd-0.99.44.tar.gz) = baee4e3f0a765eb664922fc78f346014
+SHA256 (libcwd-0.99.44.tar.gz) = 9aa09bb2de91727de68ee57b1a1e4c03059cbbc7166f9f181ee8b5c2792e724d
+SIZE (libcwd-0.99.44.tar.gz) = 1395494