diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-09-29 02:34:52 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-09-29 02:34:52 +0000 |
commit | 0bc92efd432ac45c0b292b50f45b998ee4ba2506 (patch) | |
tree | ca3226dca90a1e176d4055cf7b1dd7630c63c80c /devel/py-omniorb | |
parent | a34be8d4285957eab2c74c489bf5d4169e255367 (diff) |
-pthread/-lc_r => ${PTHREAD}
PR: ports/56863
Submitted by: Sergey Matveychuk <sem@ciam.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=89737
Diffstat (limited to 'devel/py-omniorb')
-rw-r--r-- | devel/py-omniorb/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/py-omniorb/Makefile b/devel/py-omniorb/Makefile index 1ac4b9929323..22f805bd92d9 100644 --- a/devel/py-omniorb/Makefile +++ b/devel/py-omniorb/Makefile @@ -32,6 +32,7 @@ USE_GMAKE= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile INSTALLS_SHLIB= yes +USE_REINPLACE= yes CONFIGURE_SCRIPT= ../configure CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \ @@ -48,6 +49,10 @@ pre-configure: @ ${MKDIR} ${CONFIGURE_WRKSRC} @ cd ${OMNIORB_WRKSRC} && find idl | ${CPIO} ${WRKSRC} +post-patch: + @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \ + ${WRKSRC}/mk/beforeauto.mk.in + pre-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR}/html |