mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
Import a bunch of iconv fixes.
Submitted by: marino Approved by: portmgr (bapt, implicit)
This commit is contained in:
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
|
@ -33,8 +33,9 @@ USE_XZ= yes
|
||||||
USE_GNOME= pango intltool libxml2 introspection
|
USE_GNOME= pango intltool libxml2 introspection
|
||||||
USE_XORG= x11 xext xkbfile
|
USE_XORG= x11 xext xkbfile
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= cmake gettext pathfix pkgconfig
|
USES= cmake gettext iconv pathfix pkgconfig
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
DFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
|
|
||||||
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC
|
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC
|
||||||
OPTIONS_DEFAULT=GTK2
|
OPTIONS_DEFAULT=GTK2
|
||||||
|
|
|
@ -23,7 +23,8 @@ USE_XZ= yes
|
||||||
USE_SCONS= yes
|
USE_SCONS= yes
|
||||||
SCONS_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
|
SCONS_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= gmake pkgconfig
|
USES= gmake iconv pkgconfig
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
|
|
||||||
NO_STAGE= yes
|
NO_STAGE= yes
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -15,6 +15,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3
|
||||||
LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
|
LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
|
||||||
|
|
||||||
|
USES= iconv
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_SDL= sdl
|
USE_SDL= sdl
|
||||||
USE_GL= gl
|
USE_GL= gl
|
||||||
|
@ -42,7 +43,7 @@ CFLAGS+= -O3 -ffast-math
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -o caph -I../include *.c \
|
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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c
|
@${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c
|
||||||
|
|
|
@ -17,6 +17,7 @@ LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
|
||||||
|
|
||||||
USES= pathfix iconv
|
USES= pathfix iconv
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
|
||||||
JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \
|
JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \
|
||||||
TIFF_CFLAGS="-I${LOCALBASE}/include" \
|
TIFF_CFLAGS="-I${LOCALBASE}/include" \
|
||||||
|
|
|
@ -9,7 +9,9 @@ MASTER_SITES= SF
|
||||||
MAINTAINER= glewis@FreeBSD.org
|
MAINTAINER= glewis@FreeBSD.org
|
||||||
COMMENT= Command-line driven graphing utility
|
COMMENT= Command-line driven graphing utility
|
||||||
|
|
||||||
|
USES= iconv
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
CONFIGURE_ARGS+=--with-lasergnu \
|
CONFIGURE_ARGS+=--with-lasergnu \
|
||||||
--with-readline=gnu \
|
--with-readline=gnu \
|
||||||
--without-linux-vga \
|
--without-linux-vga \
|
||||||
|
|
|
@ -41,6 +41,7 @@ USE_GNOME= glib20 pango
|
||||||
USE_LUA= 5.1+
|
USE_LUA= 5.1+
|
||||||
USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
|
USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \
|
||||||
xproto
|
xproto
|
||||||
|
LDFLAGS+= ${ICONV_LIB}
|
||||||
|
|
||||||
MAN1= awesome.1 \
|
MAN1= awesome.1 \
|
||||||
awesome-client.1
|
awesome-client.1
|
||||||
|
|
|
@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
|
||||||
USE_EFL= imlib2
|
USE_EFL= imlib2
|
||||||
USE_GNOME= pango
|
USE_GNOME= pango
|
||||||
USE_XORG= x11 xft xext xinerama xt xrandr xproto
|
USE_XORG= x11 xft xext xinerama xt xrandr xproto
|
||||||
|
LDFLAGS+= -lX11 -lXext ${ICONV_LIB}
|
||||||
|
|
||||||
MAN1= awesome2.1 \
|
MAN1= awesome2.1 \
|
||||||
awesome2-client.1 \
|
awesome2-client.1 \
|
||||||
|
|
|
@ -15,6 +15,7 @@ LICENSE= MIT
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= pathfix pkgconfig iconv
|
USES= pathfix pkgconfig iconv
|
||||||
USE_XORG= x11 xft
|
USE_XORG= x11 xft
|
||||||
|
LDFLAGS+= ${ICONV_LIB}
|
||||||
|
|
||||||
MAN1= bsetbg.1 bsetroot.1
|
MAN1= bsetbg.1 bsetroot.1
|
||||||
PORTDOCS= README.bbtools README.bsetbg
|
PORTDOCS= README.bbtools README.bsetbg
|
||||||
|
|
|
@ -29,6 +29,7 @@ USE_XORG= x11 xcb xcursor
|
||||||
USES= pkgconfig iconv gmake perl5
|
USES= pkgconfig iconv gmake perl5
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_PERL5= run
|
USE_PERL5= run
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue