aboutsummaryrefslogtreecommitdiffstats
path: root/devel/omniORB
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-09-29 10:50:44 +0800
committeradamw <adamw@FreeBSD.org>2003-09-29 10:50:44 +0800
commit63f49e7304acc5ccde1430323aed97b843cb6361 (patch)
treecb48a502f2a60983b8a90c7f5942cdf1f914cde6 /devel/omniORB
parentadadb320f3fcf47255e191a1523b9c9496e2093d (diff)
downloadfreebsd-ports-gnome-63f49e7304acc5ccde1430323aed97b843cb6361.tar.gz
freebsd-ports-gnome-63f49e7304acc5ccde1430323aed97b843cb6361.tar.zst
freebsd-ports-gnome-63f49e7304acc5ccde1430323aed97b843cb6361.zip
-pthread/-lc_r => ${PTHREAD_LIBS}
PR: ports/56862 Submitted by: Sergey Matveychuk <sem@ciam.ru> (maintainer)
Diffstat (limited to 'devel/omniORB')
-rw-r--r--devel/omniORB/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/omniORB/Makefile b/devel/omniORB/Makefile
index 8028a8afc143..8b0e8efd27d6 100644
--- a/devel/omniORB/Makefile
+++ b/devel/omniORB/Makefile
@@ -19,6 +19,7 @@ BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
USE_PYTHON= yes
INSTALLS_SHLIB= yes
NO_FILTER_SHLIBS= yes
@@ -38,6 +39,10 @@ PLIST_SUB+= STATIC=""
MAN1= catior.1 genior.1 nameclt.1 omniNames.1 omniidl.1
+post-patch:
+ @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
+ ${WRKSRC}/mk/beforeauto.mk.in
+
pre-configure:
@ ${MKDIR} ${CONFIGURE_WRKSRC}