ports/63820: [MAINTAINER] devel/ace+tao: fix library linking
Sergey Matveychuk
sem at ciam.ru
Fri Mar 5 22:50:18 UTC 2004
>Number: 63820
>Category: ports
>Synopsis: [MAINTAINER] devel/ace+tao: fix library linking
>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: Fri Mar 05 14:50:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sergey Matveychuk
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Current.sem-home.ciam.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Fri Feb 27 03:58:52 MSK 2004
>Description:
[DESCRIBE CHANGES]
* Use more right way to link library
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- ace+tao-5.4.0+1.4.0_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/ace+tao.orig/Makefile /usr/ports/devel/ace+tao/Makefile
--- /usr/ports/devel/ace+tao.orig/Makefile Sat Mar 6 00:32:26 2004
+++ /usr/ports/devel/ace+tao/Makefile Sat Mar 6 00:53:39 2004
@@ -162,9 +162,10 @@
for f in `${FIND} . -maxdepth 1 -name "lib*.so.${ACE_VERSION}" -o \
-name "lib*.so.${TAO_VERSION}" -not -name "*Test*"`; do \
${INSTALL_DATA} $${f} ${PREFIX}/lib; \
- ${LN} -fs ${PREFIX}/lib/$${f} \
- `${ECHO_CMD} ${PREFIX}/lib/$${f} | \
- ${SED} -e 's/.${ACE_VERSION}//;s/.${TAO_VERSION}//'`; \
+ lib=`${ECHO} $${f} | ${SED} -e s#.*/##`; \
+ (cd ${PREFIX}/lib; \
+ ${LN} -fs $${lib} `${ECHO} $${lib} | ${SED} -e \
+ 's/.${ACE_VERSION}//;s/.${TAO_VERSION}//'`); \
done
@${ECHO_MSG} "Installing executables into ${PREFIX}/bin"; \
--- ace+tao-5.4.0+1.4.0_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list