Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Sep 2003 19:56:31 +0000 (GMT)
From:      Markus Brueffer <brueffer@phoenix-systems.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56571: [maintainer] net/platero: fix fetch and build
Message-ID:  <20030907195631.2A4AC1C@haakonia.hitnet.rwth-aachen.de>
Resent-Message-ID: <200309072000.h87K0UPR068365@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56571
>Category:       ports
>Synopsis:       [maintainer] net/platero: fix fetch and build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 07 13:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Sun Sep 7 19:20:22 CEST 2003 brueffer@cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386

>Description:
	- change distfile location (thanks brueffer@ for mirroring the distfile)
	- respect CFLAGS
	- respect PTHREAD_LIBS
	- depend on KDEBASE instead of KDELIBS. This will hopefully fix the buildproblems reported by bento.
	- superseeds PR 56516

	Concerning PR 56516:

	Platero 0.2 isn't just a re-roll of the distfile. Instead it's a new version, as the original version
	should have been named 0.1 (for some reason the authors chose to name it 1.0).
	I haven't updated the port to 0.2 yet, because it crashes frequently on -STABLE and latest -CURRENT.

>How-To-Repeat:
>Fix:

--- platero.diff begins here ---
diff -ruN platero.orig/Makefile platero/Makefile
--- platero.orig/Makefile	Sun Sep  7 21:06:53 2003
+++ platero/Makefile	Sun Sep  7 21:09:14 2003
@@ -7,17 +7,21 @@
 PORTNAME=		platero
 PORTVERSION=		1.0
 CATEGORIES=		net kde
-MASTER_SITES=		http://savannah.nongnu.org/download/platero/unstable.pkg/%SUBDIR%/
-MASTER_SITE_SUBDIR=	${PORTVERSION}
+MASTER_SITES=		http://www.unixpages.org/distfiles/
 DISTNAME=		${PORTNAME}-${PORTVERSION}-beta1
 
 MAINTAINER=		brueffer@phoenix-systems.de
 COMMENT=		GUI to the P2P meta network client mldonkey for KDE
 
-USE_KDELIBS_VER=	3
+USE_KDEBASE_VER=	3
 USE_GMAKE=		yes
 GNU_CONFIGURE=		yes
+USE_REINPLACE=		yes
 
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
+		${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.mk>
--- platero.diff ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030907195631.2A4AC1C>