Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 13:30:12 +0400
From:      Sergey Matveychuk <sem@ciam.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56863: [MAINTAINER] devel/py23-omniorb: change -pthread with ${PTHREAD_LIB}
Message-ID:  <E19yTCu-000CD5-46@sem-home.ciam.ru>
Resent-Message-ID: <200309140940.h8E9eD1H059143@freefall.freebsd.org>

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

>Number:         56863
>Category:       ports
>Synopsis:       [MAINTAINER] devel/py23-omniorb: change -pthread with ${PTHREAD_LIB}
>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 14 02:40:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sem-home.ciam.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sat Sep 13 12:21:16 MSD 2003
>Description:
change -pthread with ${PTHREAD_LIB}

Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:

--- py23-omniorb-2.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/py-omniorb.orig/Makefile /usr/ports/devel/py-omniorb/Makefile
--- /usr/ports/devel/py-omniorb.orig/Makefile	Sun Sep 14 13:08:19 2003
+++ /usr/ports/devel/py-omniorb/Makefile	Sun Sep 14 13:26:58 2003
@@ -32,6 +32,7 @@
 GNU_CONFIGURE=	yes
 MAKEFILE=	GNUmakefile
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes
 
 CONFIGURE_SCRIPT=	../configure
 CONFIGURE_ENV+=	CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
@@ -43,6 +44,10 @@
 MODULEDIRS=	CosNaming CosNaming__POA omniORB
 DOCSDIR=	${PREFIX}/share/doc/omniORBpy
 EXAMPLESDIR=	${PREFIX}/share/examples/omniORBpy
+
+post-patch:
+	@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
+		${WRKSRC}/mk/beforeauto.mk.in
 
 pre-configure:
 	@ ${MKDIR} ${CONFIGURE_WRKSRC}
--- py23-omniorb-2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19yTCu-000CD5-46>