summaryrefslogtreecommitdiff
path: root/net-p2p/dclib/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-05 19:14:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-05 19:14:39 +0000
commitec567e8f9572555e58af5c992d7069e620ca1e48 (patch)
tree3d5273989ef834ef0e956cc212825a921e6942af /net-p2p/dclib/Makefile
parentUpgrade to 0.4.1. (diff)
Update to 0.1.11
Submitted by: maintainer
Diffstat (limited to 'net-p2p/dclib/Makefile')
-rw-r--r--net-p2p/dclib/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index d04ad0c28ffc..2990c194cf69 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dclib
-PORTVERSION= 0.1.9
+PORTVERSION= 0.1.11
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
@@ -15,7 +15,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
http://dc.ketelhot.de/files/dcgui/unstable/source/
MASTER_SITE_SUBDIR= dc-gui
-DISTNAME= dclib-0.1beta9
+DISTNAME= dclib-0.1beta11
MAINTAINER= e96sv@yahoo.se
@@ -31,10 +31,16 @@ INSTALLS_SHLIB= yes
post-patch:
# fix libxml2 test
+# and, do not add optimizations because it might break some ARCHs, e.g.,
+# alpha
+
@${REINPLACE_CMD} -e 's@xmlversion.h@libxml/xmlversion.h@; \
+ s@-O2@@; \
s@%%LOCALBASE%%@${LOCALBASE}@g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e "s@Lu@llu@g" ${WRKSRC}/dclib/cstring.cpp
+ @${REINPLACE_CMD} -e "s@Lu@llu@g" \
+ ${WRKSRC}/dclib/cstring.cpp \
+ ${WRKSRC}/dclib/cquerymanager.cpp
# malloc.h is deprecated in favor of stdlib.h
@${FIND} ${WRKSRC} -type f -name "*.cpp" -o -name "*.h" | \
${XARGS} -n 10 ${REINPLACE_CMD} 's|malloc\.h|stdlib.h|'