Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Sep 2003 18:40:41 +0000 (GMT)
From:      Markus Brueffer <brueffer@phoenix-systems.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56604: [maintainer] mail/ksig: fix build on -current
Message-ID:  <20030908184041.CDC872F@haakonia.hitnet.rwth-aachen.de>
Resent-Message-ID: <200309081850.h88IoD6T004095@freefall.freebsd.org>

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

>Number:         56604
>Category:       ports
>Synopsis:       [maintainer] mail/ksig: fix build on -current
>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:   Mon Sep 08 11:50:13 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:
	- respect CFLAGS
	- respect PTHREAD_LIBS

>How-To-Repeat:
>Fix:

--- ksig.diff begins here ---
diff -ruN ksig.orig/Makefile ksig/Makefile
--- ksig.orig/Makefile	Sun Sep  7 22:02:21 2003
+++ ksig/Makefile	Sun Sep  7 22:05:34 2003
@@ -15,7 +15,12 @@
 USE_KDELIBS_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>
--- ksig.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?20030908184041.CDC872F>