ports/56863: [MAINTAINER] devel/py23-omniorb: change -pthread with ${PTHREAD_LIB}
Sergey Matveychuk
sem at ciam.ru
Sun Sep 14 09:40:16 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list