diff options
author | miwi <miwi@FreeBSD.org> | 2013-06-04 17:59:19 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-06-04 17:59:19 +0800 |
commit | fb16651c1f9075b58bcef3d28de6f90905184e57 (patch) | |
tree | afc53edd0ba80efb65550dafb4cd023937be9f68 /net-p2p/cdonkey | |
parent | f76ef46fc0fa35e4baf40cf5d99dcaf3e183e5c6 (diff) | |
download | freebsd-ports-gnome-fb16651c1f9075b58bcef3d28de6f90905184e57.tar.gz freebsd-ports-gnome-fb16651c1f9075b58bcef3d28de6f90905184e57.tar.zst freebsd-ports-gnome-fb16651c1f9075b58bcef3d28de6f90905184e57.zip |
- Fix build with clang
- Add MAKE_JOBS_SAFE
PR: 179222
Submitted by: Ports Fury
Diffstat (limited to 'net-p2p/cdonkey')
-rw-r--r-- | net-p2p/cdonkey/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/net-p2p/cdonkey/Makefile b/net-p2p/cdonkey/Makefile index 9da78c567063..ec8df1f79126 100644 --- a/net-p2p/cdonkey/Makefile +++ b/net-p2p/cdonkey/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: cDonkey -# Date created: Feb 9, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= cdonkey PORTVERSION= 0.9.0 @@ -14,21 +9,27 @@ MASTER_SITES= http://www.sourcefiles.org/Internet/File_Sharing/Edonkey/ DISTNAME= cDonkey-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= An open and free core client for the eDonkey protocol +COMMENT= Open and free core client for the eDonkey protocol + +WRKSRC= ${WRKDIR}/cDonkey-${PORTVERSION} -PLIST_FILES= bin/cDonkey -USE_BDB= 41 USE_BZIP2= yes +USE_BDB= 41 +USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --with-berkeley-db="${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}" -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/cDonkey-${PORTVERSION} +MAKE_JOBS_SAFE= yes -.include <bsd.port.pre.mk> +PLIST_FILES= bin/cDonkey post-patch: - ${REINPLACE_CMD} -e "s|-ldb|-l${BDB_LIB_NAME}|g" ${WRKSRC}/configure - ${REINPLACE_CMD} -e "s|/etc/|${LOCALBASE}/etc/|" \ - ${WRKSRC}/donkey.cpp ${WRKSRC}/donkey.h + @${REINPLACE_CMD} -e \ + 's|-ldb|-l${BDB_LIB_NAME}|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-fno-for-scope||' ${WRKSRC}/Makefile.in +.for i in donkey.cpp donkey.h + @${REINPLACE_CMD} -e \ + 's|/etc/|${LOCALBASE}/etc/|' ${WRKSRC}/${i} +.endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |