ports/56571: [maintainer] net/platero: fix fetch and build
Markus Brueffer
brueffer at phoenix-systems.de
Sun Sep 7 20:00:32 UTC 2003
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list