ports/135326: [UPDATE] archivers/unrar-iconv fix custom prefix, fix iconv dep

Yar Odin yarodin at gmail.com
Sun Jun 7 15:40:04 UTC 2009


The following reply was made to PR ports/135326; it has been noted by GNATS.

From: Yar Odin <yarodin at gmail.com>
To: bug-followup at freebsd.org,
 yarodin at gmail.com
Cc:  
Subject: Re: ports/135326: [UPDATE] archivers/unrar-iconv fix custom prefix, fix iconv dep
Date: Sun, 7 Jun 2009 21:30:36 +0600

 --Boundary-00=_k09KKgiZ7ML5ZwE
 Content-Type: multipart/signed;
   boundary="nextPart1378469.Y7JSHKZGlk";
   protocol="application/pgp-signature";
   micalg=pgp-sha1
 Content-Transfer-Encoding: 7bit
 
 --nextPart1378469.Y7JSHKZGlk
 Content-Type: text/plain;
   charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 More accuracy patch
 
 =2D-=20
 Yar Odin <yarodin at gmail.com>
 GnuPG Key: http://dl.getdropbox.com/u/935420/Keys/yarodin.asc
 GnuPG Key ID: 0x3449D79E
 
 --nextPart1378469.Y7JSHKZGlk
 Content-Type: application/pgp-signature; name=signature.asc 
 Content-Description: This is a digitally signed message part.
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (GNU/Linux)
 
 iD8DBQBKK90kOMLFRTRJ154RArJbAKCcLuzAUjYke+aGJI6oIYyBScnhmgCfRTEC
 ueO5J2kGqRaMT/5PlEbq/q8=
 =PNsC
 -----END PGP SIGNATURE-----
 
 --nextPart1378469.Y7JSHKZGlk--
 
 --Boundary-00=_k09KKgiZ7ML5ZwE
 Content-Type: text/plain;
   charset="iso 8859-15";
   name="patch-unrar-iconv.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="patch-unrar-iconv.txt"
 
 diff -ruN unrar-iconv.orig/Makefile unrar-iconv/Makefile
 --- unrar-iconv.orig/Makefile	2008-06-18 21:36:53.000000000 +0400
 +++ unrar-iconv/Makefile	2009-06-07 19:25:15.000000000 +0400
 @@ -15,6 +15,10 @@
  
  CONFLICTS=	unrar-[0-9]* zh-unrar-[0-9]*
  
 +USE_ICONV=	yes
 +
 +MAKE_ENV=	LOCALBASE="${LOCALBASE}"
 +
  post-install:
  	@${ECHO_MSG} "===> Added iconv support, see new switches:"
  	@${ECHO_MSG} "     la, ll and lo at \"unrar -?\""
 diff -ruN unrar-iconv.orig/files/patch-iconv unrar-iconv/files/patch-iconv
 --- unrar-iconv.orig/files/patch-iconv	2008-07-03 03:02:46.000000000 +0400
 +++ unrar-iconv/files/patch-iconv	2009-06-07 19:21:50.000000000 +0400
 @@ -123,22 +123,23 @@
  +#define MCHelpSwLO           "\n  lo<option>    Encoding option {ignore,translit,<empty>}"
  +#define MIconvCannotOpen     "\nCannot open iconv to convert between '%s' and '%s' with option '%s'"
  +#endif
 ---- makefile.unix	2008-05-31 14:18:14.000000000 +0800
 -+++ makefile.unix	2008-06-27 17:03:22.459952295 +0800
 +--- makefile.unix.orig	2008-10-09 17:43:06.000000000 +0400
 ++++ makefile.unix	2009-06-07 17:27:00.000000000 +0400
  @@ -11,6 +11,13 @@
   DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
   STRIP=strip
   DESTDIR=/usr
  +# iconv stuff. Remove #ICONV# to enable
  +# where to get iconv.h
 -+CXXFLAGS+= -I/usr/local/include
 ++CXXFLAGS+= -I$(LOCALBASE)/include
  +# where to get libiconv.so*
 -+LIBS+= -L/usr/local/lib -liconv
 ++LIBS+= -L$(LOCALBASE)/lib -liconv
  +# enable iconv stuff
  +DEFINES+= -DWITH_ICONV
   
   # Linux using LCC
   #CXX=lcc
 +
  --- os.hpp	Tue Oct  4 11:57:54 2005
  +++ os.hpp	Mon Jan 16 18:04:41 2006
  @@ -169,6 +169,10 @@
 
 --Boundary-00=_k09KKgiZ7ML5ZwE--



More information about the freebsd-ports-bugs mailing list