ports/111803: [PATCH] net-p2p/rblibtorrent: respect CFLAGS, clean up

Alejandro Pulver alepulver at FreeBSD.org
Wed Apr 18 00:50:11 UTC 2007


>Number:         111803
>Category:       ports
>Synopsis:       [PATCH] net-p2p/rblibtorrent: respect CFLAGS, clean up
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 00:50:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP



>Description:


- Use SF macro in MASTER_SITES.
- Use only one library for the dependencies (all of them point to the same port).
- Respect CFLAGS/CXXFLAGS.
- Remove IGNORE for FreeBSD 4.x since it's not supported anymore.
- Reformat pkg-descr.


>How-To-Repeat:





>Fix:


--- rblibtorrent.diff begins here ---
Index: rblibtorrent/Makefile
===================================================================
RCS file: /home/pcvs/ports/net-p2p/rblibtorrent/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- rblibtorrent/Makefile	18 Apr 2007 00:34:07 -0000	1.5
+++ rblibtorrent/Makefile	18 Apr 2007 00:40:03 -0000
@@ -9,31 +9,22 @@
 PORTVERSION=	0.11
 PORTREVISION=	1
 CATEGORIES=	net-p2p
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=libtorrent
+MASTER_SITES=	SF
 PKGNAMEPREFIX=	rb
 
 MAINTAINER=	johan at stromnet.se
 COMMENT=	A C++ library implementing a BitTorrent client
 
-LIB_DEPENDS=	boost_date_time.3:${PORTSDIR}/devel/boost \
-		boost_filesystem.3:${PORTSDIR}/devel/boost \
-		boost_thread.3:${PORTSDIR}/devel/boost
+LIB_DEPENDS=	boost_date_time.3:${PORTSDIR}/devel/boost
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--disable-debug
-CONFIGURE_ENV=	CXXFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
 CONFLICTS=	libtorrent-[0-9]* \
 		libtorrent-devel-[0-9]* \
 		rblibtorrent-devel-[0-9]*
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE=	is unsupported on FreeBSD < 5
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: rblibtorrent/pkg-descr
===================================================================
RCS file: /home/pcvs/ports/net-p2p/rblibtorrent/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- rblibtorrent/pkg-descr	24 Mar 2006 20:44:18 -0000	1.1
+++ rblibtorrent/pkg-descr	18 Apr 2007 00:40:03 -0000
@@ -1,12 +1,12 @@
-libtorrent is a C++ library that aims to be a good alternative to 
-all the other bittorrent implementations around.
-It is a library and not a full featured client, although it comes 
-with a working example client.
+libtorrent is a C++ library that aims to be a good alternative to all the
+other bittorrent implementations around.  It is a library and not a full
+featured client, although it comes with a working example client.
 
 The main goals of libtorrent are:
-	* to be cpu efficient
-	* to be memory efficient
-	* to be very easy to use
+
+* to be cpu efficient
+* to be memory efficient
+* to be very easy to use
 
 Note that this is NOT the same library as the libtorrent port!
 
--- rblibtorrent.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list