aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libraw/Makefile1
-rw-r--r--graphics/libraw/files/patch-Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile
index b0e7b70ff61d..82698adf8d10 100644
--- a/graphics/libraw/Makefile
+++ b/graphics/libraw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libraw
PORTVERSION= 0.5.3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.libraw.su/data/
DISTNAME= LibRaw-${PORTVERSION}
diff --git a/graphics/libraw/files/patch-Makefile b/graphics/libraw/files/patch-Makefile
index cc46fa90d111..0ea054184868 100644
--- a/graphics/libraw/files/patch-Makefile
+++ b/graphics/libraw/files/patch-Makefile
@@ -1,11 +1,11 @@
--- Makefile.orig Sat Apr 19 17:21:37 2008
-+++ Makefile Tue Apr 29 15:32:48 2008
++++ Makefile Wed May 7 10:20:57 2008
@@ -1,12 +1,12 @@
all: library all_samples
-CFLAGS=-O4 -I. -w
-+CFLAGS+=-I. -w
++CFLAGS+=-I. -w -fPIC
DCRAW_LIB_OBJECTS=object/dcraw_common.o object/foveon.o object/io.o object/libraw_cxx.o object/libraw_c_api.o
DCRAW_LIB_MT_OBJECTS=object/dcraw_common_mt.o object/foveon_mt.o object/io_mt.o object/libraw_cxx_mt.o object/libraw_c_api_mt.o