Import a bunch of iconv fixes.

Submitted by:	marino
Approved by:	portmgr (bapt, implicit)
This commit is contained in:
Guido Falsi 2013-09-27 15:17:26 +00:00
parent 014bb2aecc
commit 0a0bcfbc54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328492
9 changed files with 13 additions and 3 deletions

View file

@ -33,8 +33,9 @@ USE_XZ= yes
USE_GNOME= pango intltool libxml2 introspection
USE_XORG= x11 xext xkbfile
USE_LDCONFIG= yes
USES= cmake gettext pathfix pkgconfig
USES= cmake gettext iconv pathfix pkgconfig
INSTALLS_ICONS= yes
DFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC
OPTIONS_DEFAULT=GTK2

View file

@ -23,7 +23,8 @@ USE_XZ= yes
USE_SCONS= yes
SCONS_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
USE_LDCONFIG= yes
USES= gmake pkgconfig
USES= gmake iconv pkgconfig
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
NO_STAGE= yes
post-patch:

View file

@ -15,6 +15,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
USES= iconv
USE_BZIP2= yes
USE_SDL= sdl
USE_GL= gl
@ -42,7 +43,7 @@ CFLAGS+= -O3 -ffast-math
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -o caph -I../include *.c \
`${SDL_CONFIG} --libs --cflags` -D_OPENGL -lGL -lpng
`${SDL_CONFIG} --libs --cflags` -D_OPENGL -lGL -lpng ${ICONV_LIB}
post-patch:
@${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c

View file

@ -17,6 +17,7 @@ LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
USES= pathfix iconv
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \
TIFF_CFLAGS="-I${LOCALBASE}/include" \

View file

@ -9,7 +9,9 @@ MASTER_SITES= SF
MAINTAINER= glewis@FreeBSD.org
COMMENT= Command-line driven graphing utility
USES= iconv
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=--with-lasergnu \
--with-readline=gnu \
--without-linux-vga \

View file

@ -41,6 +41,7 @@ USE_GNOME= glib20 pango
USE_LUA= 5.1+
USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
xproto
LDFLAGS+= ${ICONV_LIB}
MAN1= awesome.1 \
awesome-client.1

View file

@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
USE_EFL= imlib2
USE_GNOME= pango
USE_XORG= x11 xft xext xinerama xt xrandr xproto
LDFLAGS+= -lX11 -lXext ${ICONV_LIB}
MAN1= awesome2.1 \
awesome2-client.1 \

View file

@ -15,6 +15,7 @@ LICENSE= MIT
GNU_CONFIGURE= yes
USES= pathfix pkgconfig iconv
USE_XORG= x11 xft
LDFLAGS+= ${ICONV_LIB}
MAN1= bsetbg.1 bsetroot.1
PORTDOCS= README.bbtools README.bsetbg

View file

@ -29,6 +29,7 @@ USE_XORG= x11 xcb xcursor
USES= pkgconfig iconv gmake perl5
USE_BZIP2= yes
USE_PERL5= run
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE= yes
post-patch: