ports/108975: [FEATURE] devel/pth-hard

Martin Matuska martin at matuska.org
Fri Feb 9 13:00:43 UTC 2007


>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 at matuska.org>
+#
+# $FreeBSD$
+#
+
+WITH_SYSCALL_HARD=	yes
+
+MASTERDIR=	${.CURDIR}/../pth
+
+.include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list