ports/64235: [MAINTAINER] lang/pike72: make bento happy on non i386 platforms.
Xavier Beaudouin
kiwi at oav.net
Sat Mar 13 23:40:12 UTC 2004
>Number: 64235
>Category: ports
>Synopsis: [MAINTAINER] lang/pike72: make bento happy on non i386 platforms.
>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: Sat Mar 13 15:40:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Xavier Beaudouin
>Release: FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD domu.oav.net 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Fri Mar 5 10:21:57 CET
>Description:
- Make bento happy on non x86 platform (eg amd64 and alpha)
(code from Pike's developpers)
- Some cleanups in Makefile
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- pike72-7.2.492_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/pike72.old/Makefile /usr/ports/lang/pike72/Makefile
--- /usr/ports/lang/pike72.old/Makefile Sat Mar 13 23:30:22 2004
+++ /usr/ports/lang/pike72/Makefile Sun Mar 14 00:33:41 2004
@@ -30,10 +30,9 @@
WANT_MESA= yes
WANT_GTK= yes
-#WANT_GNOME= yes
USE_BISON= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-debug \
--with-double-precision \
@@ -58,15 +57,9 @@
--with-tiff \
--with-gdbm \
--without-ssleay
-# --with-gdbm=${PREFIX} \
-# --without-relocatable-dumped-modules \
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Does not compile on !i386"
-.endif
-
PLIST_SUB+= PORTVERSION=${PORTVERSION}
# FreeBSD 5.0 Needs to have libgmp port to support gmp.
@@ -192,22 +185,6 @@
CONFIGURE_ARGS+= --with-GL --with-GLUT
.else
CONFIGURE_ARGS+= --without-GL --without-GLUT
-.endif
-
-#.if defined(HAVE_GNOME)
-#USE_GNOME= yes
-#USE_GTK= yes
-#USE_GLI= yes
-#CONFIGURE_ARGS+= --with-GTK --with-gnome --with-glade
-#.else
-CONFIGURE_ARGS+= --without-GTK --without-gnome --without-glade
-#.endif
-
-.if (${MACHINE} == "i386")
-CONFIGURE_ARGS+= --with-poll
-.else
-# Alpha seems to have problems with poll() with pike... :/
-CONFIGURE_ARGS+= --without-poll
.endif
USE_GMAKE= yes
diff -ruN --exclude=CVS /usr/ports/lang/pike72.old/files/patch-aa /usr/ports/lang/pike72/files/patch-aa
--- /usr/ports/lang/pike72.old/files/patch-aa Thu Jan 1 01:00:00 1970
+++ /usr/ports/lang/pike72/files/patch-aa Sat Mar 13 23:32:10 2004
@@ -0,0 +1,11 @@
+--- module_support.c.orig Sat Mar 13 23:31:07 2004
++++ module_support.c Sat Mar 13 23:31:34 2004
+@@ -314,7 +314,7 @@
+ va_start(ptr, fmt);
+ ret=va_get_args(s, num_args, fmt, ptr);
+ #ifndef __TenDRA__
+- va_end(fmt);
++ va_end(ptr);
+ #endif /* !__TenDRA */
+ return ret;
+ }
--- pike72-7.2.492_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list