ports/93936: Update port: graphics/gephex mark 'only for i386'
Igor Pokrovsky
ip at doom.homeunix.org
Tue Feb 28 10:40:05 UTC 2006
>Number: 93936
>Category: ports
>Synopsis: Update port: graphics/gephex mark 'only for i386'
>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: Tue Feb 28 10:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb 23 23:52:41 MSK 2006 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386
>Description:
Just found out gephex is not supposed to be build and run on anything except i386 :-)
So mark it for i386 only and comment my lame hacks.
>How-To-Repeat:
>Fix:
--- gephex.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/gephex/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 11 Feb 2006 21:40:39 -0000 1.3
+++ Makefile 27 Feb 2006 19:20:28 -0000
@@ -29,6 +29,7 @@
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}-${PORTVERSION:R}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[[:alpha:]]//g}
+ONLY_FOR_ARCHS= i386
MAN1= gephex-engine.1 gephex-gui.1 gephex.1
@@ -172,10 +173,10 @@
@${REINPLACE_CMD} -e 's|%%PORTDOCS%%|${DO_DOCS}|' ${WRKSRC}/Makefile.am
# Compile contents of static libs with PIC, as they can be used in dynamic ones
-.if !empty(ARCH:M*64)
- @(${FIND} -X ${WRKSRC} -name Makefile.am \! -regex '.*cpuinfo.*' | \
- ${XARGS} ${REINPLACE_CMD} -E -e \
- "/^lib[[:alnum:]]+_a_SOURCES.*$$/{ h; s//AM_CFLAGS = -DPIC -fPIC/; G;}")
-.endif
+#.if !empty(ARCH:M*64)
+# @(${FIND} -X ${WRKSRC} -name Makefile.am \! -regex '.*cpuinfo.*' | \
+# ${XARGS} ${REINPLACE_CMD} -E -e \
+# "/^lib[[:alnum:]]+_a_SOURCES.*$$/{ h; s//AM_CFLAGS = -DPIC -fPIC/; G;}")
+#.endif
.include <bsd.port.post.mk>
--- gephex.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list