summaryrefslogtreecommitdiff
path: root/archivers/unrar/patches
diff options
context:
space:
mode:
authoradam <adam>2012-11-07 22:35:55 +0000
committeradam <adam>2012-11-07 22:35:55 +0000
commit8f9dc3a3631acf1d67c41e7b319ef355ce750b92 (patch)
treed20d3ae24e5128c14888b0a9ee715a21eaa91cf1 /archivers/unrar/patches
parentbc5827fbbb1e83ce0ee0167bc789f1e1a7a51fc2 (diff)
downloadpkgsrc-8f9dc3a3631acf1d67c41e7b319ef355ce750b92.tar.gz
Use pkgsrc provided CXX and CXXFLAGS
Diffstat (limited to 'archivers/unrar/patches')
-rw-r--r--archivers/unrar/patches/patch-makefile.unix15
1 files changed, 15 insertions, 0 deletions
diff --git a/archivers/unrar/patches/patch-makefile.unix b/archivers/unrar/patches/patch-makefile.unix
new file mode 100644
index 00000000000..21c94167f4b
--- /dev/null
+++ b/archivers/unrar/patches/patch-makefile.unix
@@ -0,0 +1,15 @@
+$NetBSD: patch-makefile.unix,v 1.1 2012/11/07 22:35:55 adam Exp $
+
+Use pkgsrc provided CXX and CXXFLAGS.
+
+--- makefile.unix.orig 2012-11-07 22:31:22.000000000 +0000
++++ makefile.unix
+@@ -2,8 +2,6 @@
+ # Makefile for UNIX - unrar
+
+ # Linux using GCC
+-CXX=g++
+-CXXFLAGS=-O2
+ LIBFLAGS=-fPIC
+ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ STRIP=strip