aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/dclib/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-10-06 03:14:39 +0800
committerlioux <lioux@FreeBSD.org>2002-10-06 03:14:39 +0800
commit900abf412a6a09ce7a9e590384d4a67dbf522cf0 (patch)
treec69d01fda6ffccccb341a2769e7d0fdacfc9f23e /net-p2p/dclib/Makefile
parentdccb5f2bfdea073169925d6c356c348cb6f4c88b (diff)
downloadfreebsd-ports-gnome-900abf412a6a09ce7a9e590384d4a67dbf522cf0.tar.gz
freebsd-ports-gnome-900abf412a6a09ce7a9e590384d4a67dbf522cf0.tar.zst
freebsd-ports-gnome-900abf412a6a09ce7a9e590384d4a67dbf522cf0.zip
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|'