ports/56862: [MAINTAINER] devel/omniORB: change -pthread with ${PTHREAD_LIB}

Sergey Matveychuk sem at ciam.ru
Sun Sep 14 09:40:16 UTC 2003


>Number:         56862
>Category:       ports
>Synopsis:       [MAINTAINER] devel/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}
remove useless spaces

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

--- omniORB-4.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/omniORB.orig/Makefile /usr/ports/devel/omniORB/Makefile
--- /usr/ports/devel/omniORB.orig/Makefile	Sat Sep 13 19:41:30 2003
+++ /usr/ports/devel/omniORB/Makefile	Sun Sep 14 13:26:17 2003
@@ -15,14 +15,15 @@
 COMMENT=	A robust high performance CORBA ORB for C++ and Python
 
 CONFIGURE_WRKSRC=	${WRKSRC}/build
-BUILD_WRKSRC=	${CONFIGURE_WRKSRC}
-INSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
-USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
-USE_PYTHON=	yes
-INSTALLS_SHLIB=	yes
+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
-MAKEFILE=	GNUmakefile
+MAKEFILE=		GNUmakefile
 CONFIGURE_SCRIPT=	../configure
 CONFIGURE_ENV+=	CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
 		CPP=${CPP} PYTHON=${PYTHON_CMD}
@@ -38,18 +39,22 @@
 
 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}
+	@${MKDIR} ${CONFIGURE_WRKSRC}
 
 post-install:
 .for manpage in ${MAN1}
-	@ ${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MANPREFIX}/man/man1
+	@${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MANPREFIX}/man/man1
 .endfor
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${DOCSDIR}
-	@ cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST README.unix \
-	  ReleaseNotes_${PORTVERSION}.txt ${DOCSDIR}
-	@ ${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
+	@${MKDIR} ${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST README.unix \
+		ReleaseNotes_${PORTVERSION}.txt ${DOCSDIR}
+	@${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
 .endif
 
 .include <bsd.port.mk>
--- omniORB-4.0.2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list