Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Feb 2007 13:57:26 +0100 (CET)
From:      Martin Matuska <martin@matuska.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108975: [FEATURE] devel/pth-hard
Message-ID:  <20070209125726.25AAF3F42E@mail.vx.sk>
Resent-Message-ID: <200702091300.l19D0g83085878@freefall.freebsd.org>

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

>Number:         108975
>Category:       ports
>Synopsis:       [FEATURE] devel/pth-hard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 13:00:41 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386 and amd64
>Description:
Add a devel/pth-hard slave port by moving the WITH_SYSCALL_HARD knob.
I am preparing jabber14-1.6.0 and it requires a hardlinked pth.
>How-To-Repeat:
>Fix:
--- devel/pth/Makefile.orig	Fri Feb  9 12:39:48 2007
+++ devel/pth/Makefile	Fri Feb  9 12:46:46 2007
@@ -25,8 +25,14 @@
 MAN1=		pth-config.1
 MAN3=		pth.3
 
-OPTIONS=	OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on \
-		SYSCALL_HARD "Build with hard syscalls" off
+.if defined(WITH_SYSCALL_HARD)
+PKGNAMESUFFIX=	-hard
+CONFLICTS=	pth-2.*
+.else
+CONFLICTS=	pth-hard-2.*
+.endif
+
+OPTIONS=	OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on
 
 .include <bsd.port.pre.mk>
 
--- devel/pth-hard/Makefile.orig	Fri Feb  9 12:48:07 2007
+++ devel/pth-hard/Makefile	Fri Feb  9 12:48:05 2007
@@ -0,0 +1,12 @@
+# New ports collection makefile for:	pth-hard
+# Date created:				9 Februar 2007
+# Whom:					Martin Matuska <martin@matuska.org>
+#
+# $FreeBSD$
+#
+
+WITH_SYSCALL_HARD=	yes
+
+MASTERDIR=	${.CURDIR}/../pth
+
+.include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



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