diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-13 17:14:53 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-13 17:14:53 +0000 |
commit | 42cea4feca97175ce7fe8e01cef19ba73b69c476 (patch) | |
tree | db7d60e9baca3e8f203bee4b35e80db32ed1fe56 | |
parent | 31c9fcf7327a4faf7e0c2a77beaef9643cdd87a4 (diff) | |
download | ports-42cea4feca97175ce7fe8e01cef19ba73b69c476.tar.gz ports-42cea4feca97175ce7fe8e01cef19ba73b69c476.zip |
Notes
-rw-r--r-- | databases/spatialite/Makefile | 15 | ||||
-rw-r--r-- | editors/mlview/Makefile | 4 | ||||
-rw-r--r-- | editors/xmlcopyeditor/Makefile | 4 | ||||
-rw-r--r-- | games/macopix/Makefile | 4 | ||||
-rw-r--r-- | games/macopix/files/patch-src-callbacks.c | 20 | ||||
-rw-r--r-- | games/macopix/files/patch-src-gui.c | 20 | ||||
-rw-r--r-- | games/macopix/files/patch-src-mail.c | 20 | ||||
-rw-r--r-- | games/macopix/files/patch-src-sockmsg.c | 11 | ||||
-rw-r--r-- | games/supertux-devel/Makefile | 3 | ||||
-rw-r--r-- | games/supertux-devel/files/patch-src-scripting-sound_error.hpp | 10 | ||||
-rw-r--r-- | games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp | 10 | ||||
-rw-r--r-- | games/teg/Makefile | 4 | ||||
-rw-r--r-- | games/tuxtype/Makefile | 2 | ||||
-rw-r--r-- | games/valyriatear/Makefile | 2 | ||||
-rw-r--r-- | graphics/ipe/Makefile | 3 | ||||
-rw-r--r-- | graphics/ipe/files/patch-include__ipebase.h | 11 | ||||
-rw-r--r-- | graphics/oyranos/Makefile | 2 | ||||
-rw-r--r-- | graphics/qxv/Makefile | 2 | ||||
-rw-r--r-- | japanese/jd/Makefile | 3 | ||||
-rw-r--r-- | multimedia/w_scan/Makefile | 2 | ||||
-rw-r--r-- | palm/gnome-pilot/Makefile | 5 | ||||
-rw-r--r-- | textproc/scim/Makefile | 2 |
22 files changed, 126 insertions, 33 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile index 6e60f64a1553..7e1e3339eee6 100644 --- a/databases/spatialite/Makefile +++ b/databases/spatialite/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: spatialite -# Date created: 11 July 2008 -# Whom: Wen Heping <wenheping@gmail.com> -# +# Created by: Wen Heping <wenheping@gmail.com> # $FreeBSD$ -# PORTNAME= spatialite PORTVERSION= 3.0.1 @@ -22,12 +18,11 @@ LIB_DEPENDS= geos_c.9:${PORTSDIR}/graphics/geos \ 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 diff --git a/editors/mlview/Makefile b/editors/mlview/Makefile index c65851638d22..2436b36ecded 100644 --- a/editors/mlview/Makefile +++ b/editors/mlview/Makefile @@ -13,10 +13,10 @@ COMMENT= A tree oriented XML editor for Gnome 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 diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index 983fea120c2d..82d7844dd094 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -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}-${PORTVERSION} 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> diff --git a/games/macopix/Makefile b/games/macopix/Makefile index 2ab9e5647212..f504b8f16b13 100644 --- a/games/macopix/Makefile +++ b/games/macopix/Makefile @@ -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 diff --git a/games/macopix/files/patch-src-callbacks.c b/games/macopix/files/patch-src-callbacks.c new file mode 100644 index 000000000000..9e0243b61d61 --- /dev/null +++ b/games/macopix/files/patch-src-callbacks.c @@ -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; + } diff --git a/games/macopix/files/patch-src-gui.c b/games/macopix/files/patch-src-gui.c new file mode 100644 index 000000000000..f87ab45ff531 --- /dev/null +++ b/games/macopix/files/patch-src-gui.c @@ -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; diff --git a/games/macopix/files/patch-src-mail.c b/games/macopix/files/patch-src-mail.c new file mode 100644 index 000000000000..d631d7be6aca --- /dev/null +++ b/games/macopix/files/patch-src-mail.c @@ -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); + } + + diff --git a/games/macopix/files/patch-src-sockmsg.c b/games/macopix/files/patch-src-sockmsg.c new file mode 100644 index 000000000000..014e1739c78a --- /dev/null +++ b/games/macopix/files/patch-src-sockmsg.c @@ -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); diff --git a/games/supertux-devel/Makefile b/games/supertux-devel/Makefile index 0da111f58681..32655a488001 100644 --- a/games/supertux-devel/Makefile +++ b/games/supertux-devel/Makefile @@ -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,' \ diff --git a/games/supertux-devel/files/patch-src-scripting-sound_error.hpp b/games/supertux-devel/files/patch-src-scripting-sound_error.hpp new file mode 100644 index 000000000000..7af70a199150 --- /dev/null +++ b/games/supertux-devel/files/patch-src-scripting-sound_error.hpp @@ -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 + { diff --git a/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp b/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp new file mode 100644 index 000000000000..71b5cfa7eac6 --- /dev/null +++ b/games/supertux-devel/files/patch-src-scripting-squirrel_error.hpp @@ -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 { + diff --git a/games/teg/Makefile b/games/teg/Makefile index f16ca86e9d3f..c5e0b9faaf09 100644 --- a/games/teg/Makefile +++ b/games/teg/Makefile @@ -10,11 +10,11 @@ MASTER_SITES= SF MAINTAINER= ports@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 diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile index 8f9b03d3ea7f..b680dffa74fa 100644 --- a/games/tuxtype/Makefile +++ b/games/tuxtype/Makefile @@ -33,7 +33,7 @@ CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \ 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 diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile index 64a29128e019..0d1fab0d1988 100644 --- a/games/valyriatear/Makefile +++ b/games/valyriatear/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \ 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 diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile index 30b2e4e182a0..0366fb552257 100644 --- a/graphics/ipe/Makefile +++ b/graphics/ipe/Makefile @@ -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}" \ diff --git a/graphics/ipe/files/patch-include__ipebase.h b/graphics/ipe/files/patch-include__ipebase.h new file mode 100644 index 000000000000..dcd1d8be7291 --- /dev/null +++ b/graphics/ipe/files/patch-include__ipebase.h @@ -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> + + // -------------------------------------------------------------------- + diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile index 3fec69119f7e..b47d6026bd10 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -24,7 +24,7 @@ LIB_DEPENDS= raw:${PORTSDIR}/graphics/libraw \ 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 diff --git a/graphics/qxv/Makefile b/graphics/qxv/Makefile index 1b183f0e2b4d..a252733ef50b 100644 --- a/graphics/qxv/Makefile +++ b/graphics/qxv/Makefile @@ -17,7 +17,6 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ 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/png \ 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 diff --git a/japanese/jd/Makefile b/japanese/jd/Makefile index 2900de709462..165a6b737f47 100644 --- a/japanese/jd/Makefile +++ b/japanese/jd/Makefile @@ -20,12 +20,13 @@ LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \ 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 diff --git a/multimedia/w_scan/Makefile b/multimedia/w_scan/Makefile index bc0e13cb64af..9f65356371c8 100644 --- a/multimedia/w_scan/Makefile +++ b/multimedia/w_scan/Makefile @@ -23,7 +23,7 @@ LINUX_DESC= Install Linux binary too (linux-w_scan) 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 diff --git a/palm/gnome-pilot/Makefile b/palm/gnome-pilot/Makefile index 41a00b2ceb5d..12277352ce0d 100644 --- a/palm/gnome-pilot/Makefile +++ b/palm/gnome-pilot/Makefile @@ -14,9 +14,8 @@ COMMENT= PalmPilot conduit system for GNOME 2 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 diff --git a/textproc/scim/Makefile b/textproc/scim/Makefile index 7efe79eb3b4f..291d2ead2c32 100644 --- a/textproc/scim/Makefile +++ b/textproc/scim/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ .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@SCIM_EPOCH@_la_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \ |