ports/74483: Update port: graphics/xrml fix build on alpha 4
Igor Pokrovsky
ip at doom.homeunix.org
Sun Nov 28 19:30:18 UTC 2004
>Number: 74483
>Category: ports
>Synopsis: Update port: graphics/xrml fix build on alpha 4
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 28 19:30:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Nov 22 09:16:46 MSK 2004 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
1. Added clean-up for stale object file (caused problems on non-x86 platforms).
2. Some s/xrml/\${PORTNAME}/g changes.
>How-To-Repeat:
>Fix:
--- xrml.diff begins here ---
diff -ru /usr/ports/graphics/xrml/Makefile xrml/Makefile
--- /usr/ports/graphics/xrml/Makefile Sun Aug 1 21:23:26 2004
+++ xrml/Makefile Sun Nov 28 22:12:44 2004
@@ -54,19 +54,21 @@
pre-build:
${GMAKE} -C ${WRKSRC}/FILTERS link_includes
${GMAKE} -C ${WRKSRC}/XRML link_includes
- @${RM} -f ${WRKSRC}/PROGS/vrmldump/deps
+ ${GMAKE} -C ${WRKSRC}/PROGS/vrmldump clean
do-install:
- @${MKDIR} ${PREFIX}/include/xrml
- ${INSTALL_DATA} ${WRKSRC}/include/*.[hH] ${PREFIX}/include/xrml
+ @${MKDIR} ${PREFIX}/include/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/include/*.[hH] ${PREFIX}/include/${PORTNAME}
.for i in cso mgf nff vrml2_utf8
- @${MKDIR} ${PREFIX}/include/xrml/${i}
- ${INSTALL_DATA} ${WRKSRC}/include/${i}/* ${PREFIX}/include/xrml/${i}
+ @${MKDIR} ${PREFIX}/include/${PORTNAME}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/include/${i}/* \
+ ${PREFIX}/include/${PORTNAME}/${i}
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libxrml.so.0.5 ${PREFIX}/lib/libxrml.so.0
- ${LN} -fs libxrml.so.0 ${PREFIX}/lib/libxrml.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${PORTNAME}.so.0.5 \
+ ${PREFIX}/lib/lib${PORTNAME}.so.0
+ ${LN} -fs lib${PORTNAME}.so.0 ${PREFIX}/lib/lib${PORTNAME}.so
@${STRIP_CMD} ${WRKSRC}/lib/*.a
${INSTALL_DATA} ${WRKSRC}/lib/*.a ${PREFIX}/lib
--- xrml.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list