aboutsummaryrefslogtreecommitdiff
path: root/archivers/unrar-iconv
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-16 12:51:02 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-16 12:51:02 +0000
commit4f1e8addf2177342d04e11cc9ae5f91e8b554d7b (patch)
tree41db99b23104d214b0b088d27e32dcb952ff3a59 /archivers/unrar-iconv
parent2c9a5b4b8bff5492eecd9dc59bda3a1508cf2a4c (diff)
downloadports-4f1e8addf2177342d04e11cc9ae5f91e8b554d7b.tar.gz
ports-4f1e8addf2177342d04e11cc9ae5f91e8b554d7b.zip
Notes
Diffstat (limited to 'archivers/unrar-iconv')
-rw-r--r--archivers/unrar-iconv/Makefile2
-rw-r--r--archivers/unrar-iconv/files/patch-iconv16
2 files changed, 2 insertions, 16 deletions
diff --git a/archivers/unrar-iconv/Makefile b/archivers/unrar-iconv/Makefile
index cf56e2a0ef06..be13be93ee68 100644
--- a/archivers/unrar-iconv/Makefile
+++ b/archivers/unrar-iconv/Makefile
@@ -13,6 +13,8 @@ MASTERDIR= ${.CURDIR}/../unrar
EXTRA_PATCHES= ${.CURDIR}/files/patch-iconv
+CPPFLAGS+= -DWITH_ICONV -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -liconv
USE_ICONV= yes
CONFLICTS= unrar-[0-9]* zh-unrar-[0-9]*
diff --git a/archivers/unrar-iconv/files/patch-iconv b/archivers/unrar-iconv/files/patch-iconv
index ff0be291e452..4c255d161ad9 100644
--- a/archivers/unrar-iconv/files/patch-iconv
+++ b/archivers/unrar-iconv/files/patch-iconv
@@ -126,22 +126,6 @@
#define MCannotDelete "\nCannot delete %s"
#define MCalcCRC "\nCalculating the control sum"
#define MTooLargeSFXArc "\nWARNING: Too large SFX archive. Windows cannot run the executable file exceeding 4 GB."
---- makefile.unix.orig 2010-03-30 23:26:26.000000000 +0800
-+++ makefile.unix 2011-01-18 11:21:35.000000000 +0800
-@@ -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$(LOCALBASE)/include
-+# where to get libiconv.so*
-+LIBS+= -L$(LOCALBASE)/lib -liconv
-+# enable iconv stuff
-+DEFINES+= -DWITH_ICONV
-
- # Linux using LCC
- #CXX=lcc
--- os.hpp.orig 2011-01-04 20:28:47.000000000 +0800
+++ os.hpp 2011-01-18 11:21:35.000000000 +0800
@@ -192,6 +192,10 @@