From dc205e008cbfa97bddd07ea3ab67c1fa0fccfffb Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Wed, 10 Sep 2003 10:44:45 +0000 Subject: [PATCH] - change distfile location - respect CFLAGS - respect PTHREAD_LIBS - depend on KDEBASE instead of KDELIBS. This will hopefully fix the buildproblems reported by bento. PR: 56571 Submitted by: maintainer --- net/platero/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/net/platero/Makefile b/net/platero/Makefile index 650ddc2cb5f3..77d23805afdc 100644 --- a/net/platero/Makefile +++ b/net/platero/Makefile @@ -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