aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pike72
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-15 10:15:08 +0800
committerpav <pav@FreeBSD.org>2004-03-15 10:15:08 +0800
commitf6f3d99e8337e1b5ab14d13ff2c50812b06d4914 (patch)
treeb8b7d284ae6286a27181c78f0e2719ae25f32894 /lang/pike72
parentc632f5874a949a7d6d92e370d4269c11ab005415 (diff)
downloadfreebsd-ports-gnome-f6f3d99e8337e1b5ab14d13ff2c50812b06d4914.tar.gz
freebsd-ports-gnome-f6f3d99e8337e1b5ab14d13ff2c50812b06d4914.tar.zst
freebsd-ports-gnome-f6f3d99e8337e1b5ab14d13ff2c50812b06d4914.zip
- Fix build on !x86 platforms
- Cleanup PR: ports/64235 Submitted by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
Diffstat (limited to 'lang/pike72')
-rw-r--r--lang/pike72/Makefile25
-rw-r--r--lang/pike72/files/patch-module_support.c11
2 files changed, 12 insertions, 24 deletions
diff --git a/lang/pike72/Makefile b/lang/pike72/Makefile
index 75f28802a0c4..6f337d462272 100644
--- a/lang/pike72/Makefile
+++ b/lang/pike72/Makefile
@@ -30,10 +30,9 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/
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 @@ CONFIGURE_ARGS+= --without-debug \
--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.
@@ -194,22 +187,6 @@ CONFIGURE_ARGS+= --with-GL --with-GLUT
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
MAN1= hilfe.1 pike.1
MAN1PREFIX= ${PREFIX}/pike/${PORTVERSION}
diff --git a/lang/pike72/files/patch-module_support.c b/lang/pike72/files/patch-module_support.c
new file mode 100644
index 000000000000..38b74feb566b
--- /dev/null
+++ b/lang/pike72/files/patch-module_support.c
@@ -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;
+ }