ports/54204: Maintainer-Update: lang/pike74 update to pike 7.4.25
Xavier Beaudouin
kiwi at oav.net
Tue Jul 8 00:50:19 UTC 2003
>Number: 54204
>Category: ports
>Synopsis: Maintainer-Update: lang/pike74 update to pike 7.4.25
>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: Mon Jul 07 17:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Xavier Beaudouin
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
The Caudium Group
>Environment:
System: FreeBSD plonk.home.oav.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Jul 5 17:24:18 CEST 2003 root at plonk.home.oav.net:/usr/src/sys/i386/compile/PLONK i386
>Description:
Update of lang/pike74 port to latest pike 7.4.25 snapshot.
Added Perl support for Perl > 5.6
Added detection of MySQL 4.0 and 4.1 (and correct dependencies).
>How-To-Repeat:
n/a
>Fix:
diff -u --recursive --new-file pike74.old/Makefile pike74/Makefile
--- pike74.old/Makefile Tue Jul 8 00:14:35 2003
+++ pike74/Makefile Tue Jul 8 01:49:51 2003
@@ -6,8 +6,7 @@
#
PORTNAME= pike74
-PORTVERSION= 7.4.13
-PORTREVISION= 2
+PORTVERSION= 7.4.25
CATEGORIES= lang
MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
ftp://ftp.oav.net/pkg_freebsd/distfiles/ \
@@ -34,8 +33,6 @@
WRKSRC= ${WRKDIR}/${DISTNAME}/src/
WANT_MESA= yes
-WANT_GTK= yes
-WANT_GNOME= yes
GNU_CONFIGURE= yes
@@ -50,7 +47,6 @@
--with-oob \
--with-poll \
--with-max-fd=60000 \
- --without-perl \
--with-gmp \
--with-zlib \
--with-threads \
@@ -60,6 +56,10 @@
--with-gdbm \
--without-java \
--without-ssleay \
+ --without-GTK \
+ --without-gnome \
+ --without-glade \
+ --without-libglade-config \
--prefix=${PREFIX}
.include <bsd.port.pre.mk>
@@ -71,6 +71,14 @@
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
.endif
+# Allow building Embeded perl when >= 5.6
+.if ${PERL_LEVEL} > 500600
+CONFIGURE_ARGS+= --with-perl
+USE_PERL5= YES
+.else
+CONFIGURE_ARGS+= --without-perl
+.endif
+
.if exists(${LOCALBASE}/lib/libavcodec.so.0)
WITH_FFMPEG= yes
.endif
@@ -87,6 +95,14 @@
WITH_MYSQL= yes
.endif
+.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.12)
+WITH_MYSQL40= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
+WITH_MYSQL41= yes
+.endif
+
.if exists(${LOCALBASE}/lib/libpq.so.3)
WITH_POSTGRES= yes
.endif
@@ -177,6 +193,20 @@
CONFIGURE_ARGS+= --without-mysql
.endif
+.if defined(WITH_MYSQL40)
+LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client
+CONFIGURE_ARGS+= --with-mysql=${PREFIX}
+.else
+CONFIGURE_ARGS+= --without-mysql
+.endif
+
+.if defined(WITH_MYSQL41)
+LIB_DEPENDS+= mysqlclient.14:${PORTSDIR}/databases/mysql41-client
+CONFIGURE_ARGS+= --with-mysql=${PREFIX}
+.else
+CONFIGURE_ARGS+= --without-mysql
+.endif
+
.if defined(WITH_POSTGRES)
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
@@ -244,21 +274,12 @@
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 --with-libglade-config=${X11BASE}/bin/libglade-config
-.else
-CONFIGURE_ARGS+= --without-GTK --without-gnome --without-glade --without-libglade-config
-.endif
-
-.if (${MACHINE} == "i386")
-CONFIGURE_ARGS+= --with-poll
-.else
-# Alpha seems to have problems with poll() with pike... :/
-CONFIGURE_ARGS+= --without-poll
-.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
@@ -277,7 +298,13 @@
@${ECHO_MSG} "You can enable _Image_FreeType support by defining WITH_FREETYPE."
.endif
.if !defined(WITH_MYSQL)
- @${ECHO_MSG} "You can enable MySQL support by defining WITH_MYSQL."
+ @${ECHO_MSG} "You can enable MySQL 3.23 support by defining WITH_MYSQL."
+.endif
+.if !defined(WITH_MYSQL40)
+ @${ECHO_MSG} "You can enable MySQL 4.0 support by defining WITH_MYSQL40."
+.endif
+.if !defined(WITH_MYSQL41)
+ @${ECHO_MSG} "You can enable MySQL 4.1 support by defining WITH_MYSQL41."
.endif
.if !defined(WITH_POSTGRES)
@${ECHO_MSG} "You can enable PostGres support by defining WITH_POSTGRES."
@@ -298,7 +325,7 @@
.endif
.if !defined(WITH_MOST)
@${ECHO_MSG} "You can enable most of the features here except Sane,"
- @${ECHO_MSG} "MesaGLi, GNOME and SQL support by defining WITH_MOST."
+ @${ECHO_MSG} "MesaGLi and SQL support by defining WITH_MOST."
.endif
.if !defined(WITH_SVG2)
@${ECHO_MSG} "You can enable SVG2 image support by "
diff -u --recursive --new-file pike74.old/README.html pike74/README.html
--- pike74.old/README.html Tue Jul 8 00:14:35 2003
+++ pike74/README.html Tue Jul 8 02:40:22 2003
@@ -11,7 +11,7 @@
<p>You are now in the directory for the port "lang/pike74".</p>
- <p>The package name of this port is "pike74-7.4.13_2".</p>
+ <p>The package name of this port is "pike74-7.4.25".</p>
<p>This is the one-line description for this port:</p>
<hr>
diff -u --recursive --new-file pike74.old/distinfo pike74/distinfo
--- pike74.old/distinfo Tue Jul 8 00:14:35 2003
+++ pike74/distinfo Tue Jul 8 00:36:24 2003
@@ -1 +1 @@
-MD5 (Pike-v7.4.13.tar.gz) = c0e0e4f04fb0aaf5667ba0710dc59602
+MD5 (Pike-v7.4.25.tar.gz) = b9cc266124827c01c3c6b81496205817
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list