svn commit: r327168 - in head: databases/spatialite editors/mlview editors/xmlcopyeditor games/macopix games/macopix/files games/supertux-devel games/supertux-devel/files games/teg games/tuxtype ga...
Guido Falsi
madpilot at FreeBSD.org
Fri Sep 13 17:14:58 UTC 2013
Author: madpilot
Date: Fri Sep 13 17:14:53 2013
New Revision: 327168
URL: http://svnweb.freebsd.org/changeset/ports/327168
Log:
- Fix build after iconv change [1]
- Fix build with clang/libc++ ([2] for graphics/ipe)
While here for databases/spatialite:
- Trim Makefile headers
- Remove check for unsupported FreeBSD versions
Submitted by: marino [1]
Reported by: swills, antoine [1]
Submitted by: bsam [2]
Approved by: portmgr (bapt, implicit)
Added:
head/games/macopix/files/
head/games/macopix/files/patch-src-callbacks.c (contents, props changed)
head/games/macopix/files/patch-src-gui.c (contents, props changed)
head/games/macopix/files/patch-src-mail.c (contents, props changed)
head/games/macopix/files/patch-src-sockmsg.c (contents, props changed)
head/games/supertux-devel/files/patch-src-scripting-sound_error.hpp (contents, props changed)
head/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp (contents, props changed)
head/graphics/ipe/files/patch-include__ipebase.h (contents, props changed)
Modified:
head/databases/spatialite/Makefile
head/editors/mlview/Makefile (contents, props changed)
head/editors/xmlcopyeditor/Makefile
head/games/macopix/Makefile
head/games/supertux-devel/Makefile
head/games/teg/Makefile (contents, props changed)
head/games/tuxtype/Makefile
head/games/valyriatear/Makefile
head/graphics/ipe/Makefile
head/graphics/oyranos/Makefile
head/graphics/qxv/Makefile
head/japanese/jd/Makefile
head/multimedia/w_scan/Makefile
head/palm/gnome-pilot/Makefile
head/textproc/scim/Makefile
Modified: head/databases/spatialite/Makefile
==============================================================================
--- head/databases/spatialite/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/databases/spatialite/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: spatialite
-# Date created: 11 July 2008
-# Whom: Wen Heping <wenheping at gmail.com>
-#
+# Created by: Wen Heping <wenheping at gmail.com>
# $FreeBSD$
-#
PORTNAME= spatialite
PORTVERSION= 3.0.1
@@ -22,12 +18,11 @@ LIB_DEPENDS= geos_c.9:${PORTSDIR}/graphi
EXTRACT_SUFX = .tar.gz
WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_SQLITE= yes
-USES= iconv
+USES= gmake iconv
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
@@ -40,10 +35,6 @@ post-patch:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 800000
-BROKEN= does not build
-.endif
-
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc: invokes i386 assembler
.endif
Modified: head/editors/mlview/Makefile
==============================================================================
--- head/editors/mlview/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/editors/mlview/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -13,10 +13,10 @@ COMMENT= A tree oriented XML editor for
USE_BZIP2= yes
USE_AUTOTOOLS= autoconf libtool
-USES= pathfix gmake pkgconfig
+USES= pathfix gmake iconv pkgconfig
USE_GNOME= eel2 gnomeprefix gtksourceview libgnomeui
USE_LDCONFIG= yes
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib `pkg-config --libs gnome-vfs-2.0 libgnomeui-2.0`"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib `pkg-config --libs gnome-vfs-2.0 libgnomeui-2.0` ${ICONV_LIB}"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags gnome-vfs-2.0 libgnomeui-2.0`
GCONF_SCHEMAS= mlview.schemas
Modified: head/editors/xmlcopyeditor/Makefile
==============================================================================
--- head/editors/xmlcopyeditor/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/editors/xmlcopyeditor/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -16,7 +16,7 @@ USE_WX= 2.8+
WX_COMPS= wx contrib
WX_CONF_ARGS= absolute
WX_UNICODE= yes
-USES= gettext
+USES= gettext iconv
USE_DOS2UNIX= yes
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
@@ -32,6 +32,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include \
-I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} ${ICONV_LIB}
.include <bsd.port.mk>
Modified: head/games/macopix/Makefile
==============================================================================
--- head/games/macopix/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/games/macopix/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -30,13 +30,13 @@ RESTRICTED_FILES= \
macopix-mascot-HxB-euc-ja-0.30.tar.gz
WANT_GNOME= yes
-USES= gettext gmake pkgconfig
+USES= gettext gmake iconv pkgconfig
GNU_CONFIGURE= yes
MAN1= macopix.1
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
Added: head/games/macopix/files/patch-src-callbacks.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/macopix/files/patch-src-callbacks.c Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,20 @@
+--- src/callbacks.c.orig 2008-05-25 07:40:08.000000000 +0200
++++ src/callbacks.c 2013-09-13 17:00:08.911683055 +0200
+@@ -509,7 +509,7 @@
+ if((win_bar_size==0)&&(mascot->no_capbar)){
+ // for windows w/o title bar
+ flag_homepos=mascot->homepos_nb;
+- if(flag_homepos==HOMEPOS_NEVER) return;
++ if(flag_homepos==HOMEPOS_NEVER) return(0);
+ }
+ }
+ //win_bar_size=0;
+@@ -538,7 +538,7 @@
+ if((win_bar_size==0)&&(mascot->no_capbar)){
+ // for windows w/o title bar
+ flag_homepos=mascot->homepos_nb;
+- if(flag_homepos==HOMEPOS_NEVER) return;
++ if(flag_homepos==HOMEPOS_NEVER) return(0);
+ }
+ break;
+ }
Added: head/games/macopix/files/patch-src-gui.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/macopix/files/patch-src-gui.c Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,20 @@
+--- src/gui.c.orig 2008-06-24 06:44:20.000000000 +0200
++++ src/gui.c 2013-09-13 14:36:40.096276204 +0200
+@@ -4557,7 +4557,7 @@
+ gchar *dest_file;
+
+ if(flagChildDialog){
+- return;
++ return(NULL);
+ }
+ else{
+ flagChildDialog=TRUE;
+@@ -4637,7 +4637,7 @@
+ char win_title[64];
+
+ if(flagChildDialog){
+- return;
++ return(NULL);
+ }
+ else{
+ flagChildDialog=TRUE;
Added: head/games/macopix/files/patch-src-mail.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/macopix/files/patch-src-mail.c Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,20 @@
+--- src/mail.c.orig 2008-05-24 01:14:42.000000000 +0200
++++ src/mail.c 2013-09-13 17:37:30.649560538 +0200
+@@ -1422,7 +1422,7 @@
+ froms=strbuf(NULL);
+
+ if((fp=fopen(mascot->mail.file,"r"))==NULL){
+- return;
++ return(NULL);
+ }
+
+ while(!feof(fp)){
+@@ -1545,7 +1545,7 @@
+ froms=strbuf(NULL);
+
+ if ((dp=opendir(mascot->mail.file))==NULL){
+- return;
++ return(NULL);
+ }
+
+
Added: head/games/macopix/files/patch-src-sockmsg.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/macopix/files/patch-src-sockmsg.c Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,11 @@
+--- src/sockmsg.c.orig 2008-05-02 16:05:30.000000000 +0200
++++ src/sockmsg.c 2013-09-13 17:59:53.072457158 +0200
+@@ -276,7 +276,7 @@
+
+ fd_close(fd);
+
+- if(readsize<4) return;
++ if(readsize<4) return(0);
+
+ strncpy(tmp,buf,2);
+ mode=atoi(tmp);
Modified: head/games/supertux-devel/Makefile
==============================================================================
--- head/games/supertux-devel/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/games/supertux-devel/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -18,7 +18,8 @@ USE_BZIP2= yes
USE_SDL= image
USE_OPENAL= al
USE_GL= glew
-USES= cmake:outsource
+USES= cmake:outsource iconv
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
post-patch:
${REINPLACE_CMD} -e '/^Icon=/s,supertux.png,supertux2.png,' \
Added: head/games/supertux-devel/files/patch-src-scripting-sound_error.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/supertux-devel/files/patch-src-scripting-sound_error.hpp Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,10 @@
+--- src/audio/sound_error.hpp.orig 2013-07-09 01:03:45.000000000 +0200
++++ src/audio/sound_error.hpp 2013-09-13 17:09:14.252645154 +0200
+@@ -18,6 +18,7 @@
+ #define HEADER_SUPERTUX_AUDIO_SOUND_ERROR_HPP
+
+ #include <stdexcept>
++#include <string>
+
+ class SoundError : public std::exception
+ {
Added: head/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,10 @@
+--- src/scripting/squirrel_error.hpp.orig 2013-07-09 01:03:45.000000000 +0200
++++ src/scripting/squirrel_error.hpp 2013-09-13 14:48:42.828225953 +0200
+@@ -19,6 +19,7 @@
+
+ #include <squirrel.h>
+ #include <stdexcept>
++#include <string>
+
+ namespace scripting {
+
Modified: head/games/teg/Makefile
==============================================================================
--- head/games/teg/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/games/teg/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -10,11 +10,11 @@ MASTER_SITES= SF
MAINTAINER= ports at FreeBSD.org
COMMENT= A turn-based strategy game for GNOME
-USES= pathfix gmake pkgconfig
+USES= pathfix gmake iconv pkgconfig
USE_GNOME= gnomeprefix intlhack libgnomeui
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS= --disable-ggz
GCONF_SCHEMAS= teg.schemas
Modified: head/games/tuxtype/Makefile
==============================================================================
--- head/games/tuxtype/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/games/tuxtype/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -33,7 +33,7 @@ CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4
CPPFLAGS+= $$(pkg-config --cflags SDL_Pango) -I${LOCALBASE}/include \
-DHAVE_ALPHASORT -DHAVE_SCANDIR -DHAVE_FSYNC -DICONV_CONST=""
-LDFLAGS+= $$(pkg-config --libs SDL_Pango) -L${LOCALBASE}/lib
+LDFLAGS+= $$(pkg-config --libs SDL_Pango) -L${LOCALBASE}/lib ${ICONV_LIB}
T4K_NAME= t4k_common
T4K_VERSION= 0.1.1
Modified: head/games/valyriatear/Makefile
==============================================================================
--- head/games/valyriatear/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/games/valyriatear/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -22,7 +22,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/de
png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg
-USES= cmake gettext
+USES= cmake gettext iconv
USE_SDL= sdl image ttf
USE_GL= gl
USE_OPENAL= yes
Modified: head/graphics/ipe/Makefile
==============================================================================
--- head/graphics/ipe/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/graphics/ipe/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -20,10 +20,9 @@ OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USES= pkgconfig
+USES= gmake iconv pkgconfig
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_TEX= latex
-USE_GMAKE= yes
MAKE_ENV= DLL_CFLAGS="-fPIC" \
ICONV_CFLAGS="-I${LOCALBASE}/include" \
ICONV_LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}" \
Added: head/graphics/ipe/files/patch-include__ipebase.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/ipe/files/patch-include__ipebase.h Fri Sep 13 17:14:53 2013 (r327168)
@@ -0,0 +1,11 @@
+--- include/ipebase.h.orig 2013-09-13 12:51:35.422094300 +0400
++++ include/ipebase.h 2013-09-13 12:52:10.808993351 +0400
+@@ -38,6 +38,8 @@
+ #include <map>
+ #include <list>
+ #include <algorithm>
++#include <cstdlib>
++#include <sys/types.h>
+
+ // --------------------------------------------------------------------
+
Modified: head/graphics/oyranos/Makefile
==============================================================================
--- head/graphics/oyranos/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/graphics/oyranos/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -24,7 +24,7 @@ LIB_DEPENDS= raw:${PORTSDIR}/graphics/li
lcms2:${PORTSDIR}/graphics/lcms2 \
Xcm:${PORTSDIR}/x11/libXcm
-USES= cmake gettext pkgconfig
+USES= cmake gettext iconv pkgconfig
USE_BZIP2= yes
USE_GL= yes
USE_LDCONFIG= yes
Modified: head/graphics/qxv/Makefile
==============================================================================
--- head/graphics/qxv/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/graphics/qxv/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -17,7 +17,6 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/
glib-2.0.0:${PORTSDIR}/devel/glib20 \
freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
- iconv.3:${PORTSDIR}/converters/iconv \
icui18n:${PORTSDIR}/devel/icu \
intl.9:${PORTSDIR}/devel/gettext \
pcre.3:${PORTSDIR}/devel/pcre \
@@ -25,6 +24,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/
expat.6:${PORTSDIR}/textproc/expat2 \
xcb.2:${PORTSDIR}/x11/xcb
+USES= iconv
USE_BZIP2= yes
USE_XORG= sm xrender xext x11 xau xdmcp ice
USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build
Modified: head/japanese/jd/Makefile
==============================================================================
--- head/japanese/jd/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/japanese/jd/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -20,12 +20,13 @@ LIB_DEPENDS= gnutls:${PORTSDIR}/security
gcrypt:${PORTSDIR}/security/libgcrypt \
gtkmm:${PORTSDIR}/x11-toolkits/gtkmm24
-USE_GMAKE= yes
+USES= gmake iconv
USE_AUTOTOOLS= autoconf automake libtool
USE_GNOME= gtk20 libgnomeui
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-sessionlib=gnomeui
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
OPTIONS_DEFINE= ONIGURUMA PANGOLAYOUT
ONIGURUMA_DESC= Use oniguruma regular expressions library
Modified: head/multimedia/w_scan/Makefile
==============================================================================
--- head/multimedia/w_scan/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/multimedia/w_scan/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -23,7 +23,7 @@ LINUX_DESC= Install Linux binary too (li
USE_BZIP2= yes
GNU_CONFIGURE= yes
PATCH_STRIP= -lp1
-USES+= gettext
+USES+= gettext iconv
CPPFLAGS+= -I"${LOCALBASE}/include"
LDFLAGS+= -L"${LOCALBASE}/lib\ ${ICONV_LIB}"
PORTDOCS= COPYING ChangeLog README
Modified: head/palm/gnome-pilot/Makefile
==============================================================================
--- head/palm/gnome-pilot/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/palm/gnome-pilot/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -14,9 +14,8 @@ COMMENT= PalmPilot conduit system for GN
BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2
LIB_DEPENDS= pisock.9:${PORTSDIR}/palm/pilot-link
-USES= pathfix pkgconfig gettext
+USES= gmake iconv pathfix pkgconfig gettext
USE_BZIP2= yes
-USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehier gnomepanel intlhack \
ltverhack libgnomeui
USE_AUTOTOOLS= libtool
@@ -24,7 +23,7 @@ INSTALLS_OMF= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-pisock=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAN1= gpilot-install-file.1
GCONF_SCHEMAS= pilot.schemas
Modified: head/textproc/scim/Makefile
==============================================================================
--- head/textproc/scim/Makefile Fri Sep 13 16:55:51 2013 (r327167)
+++ head/textproc/scim/Makefile Fri Sep 13 17:14:53 2013 (r327168)
@@ -24,7 +24,7 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD
.include <bsd.port.pre.mk>
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
+LDFLAGS+= -L${LOCALBASE}/lib -lintl ${ICONV_LIB}
post-patch:
${REINPLACE_CMD} -e '/^libscim at SCIM_EPOCH@_la_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \
More information about the svn-ports-head
mailing list