From 7de28270f5a11c5c1cbd60eb313f5b54f2278c64 Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Sat, 1 Sep 2007 21:40:08 +0200 Subject: [PATCH] Fixed dcraw .conf to adapt to the newer build situation. --- graphic/dcraw/dcraw.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/graphic/dcraw/dcraw.conf b/graphic/dcraw/dcraw.conf index 25bedfede..458487d2f 100644 --- a/graphic/dcraw/dcraw.conf +++ b/graphic/dcraw/dcraw.conf @@ -16,6 +16,10 @@ makeopt= makeinstopt= -hook_add inmake 5 "$CC -o dcraw dcraw.c -lm -ljpeg -llcms" -hook_add postmake 5 "install dcraw $root$bindir/" -hook_add postmake 6 "install dcraw.1 $root$mandir/man1/" +pkgprefix -t lcms +var_append GCC_WRAPPER_APPEND ' ' \ + "-I$( pkgprefix includedir lcms ) -L$( pkgprefix libdir lcms )" + +hook_add premake 5 "sed -i -e s,^gcc,$CC, \ + -e s,prefix=.*,prefix=$root/$prefix, install" +hook_add inmake 5 ./install