aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vips
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2008-07-26 04:25:52 +0800
committermi <mi@FreeBSD.org>2008-07-26 04:25:52 +0800
commit5628ac0eef0174f8a2967e9a1e28ff60d98330a5 (patch)
tree35a863e7984074b74dab63369b018407b6489622 /graphics/vips
parent01aacf81733154bc870ef547dcf26b24a24ffb54 (diff)
downloadfreebsd-ports-gnome-5628ac0eef0174f8a2967e9a1e28ff60d98330a5.tar.gz
freebsd-ports-gnome-5628ac0eef0174f8a2967e9a1e28ff60d98330a5.tar.zst
freebsd-ports-gnome-5628ac0eef0174f8a2967e9a1e28ff60d98330a5.zip
Guard against configure finding some headers in the wrong places by
explicitly specifying, where includes and libraries are located. A user reported a problem, when building nip2 with mingw32 installed...
Diffstat (limited to 'graphics/vips')
-rw-r--r--graphics/vips/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile
index 4bc8bebb5534..3a737c794361 100644
--- a/graphics/vips/Makefile
+++ b/graphics/vips/Makefile
@@ -54,6 +54,10 @@ PLIST_SUB+= VERSION=${PORTVERSION:R}
CONFIGURE_ENV+= MAGICK_CFLAGS="-I${LOCALBASE}/include/GraphicsMagick"
CONFIGURE_ARGS+=--without-x --mandir=${PREFIX}/man --with-magickpackage=GraphicsMagick
+.for p in tiff jpeg zip png
+CONFIGURE_ARGS+=--with-$p-includes=${LOCALBASE}/include
+CONFIGURE_ARGS+=--with-$p-libraries=${LOCALBASE}/lib
+.endfor
# This is used to generate the list of man-pages and MLINKS. It
# looks through the available man-pages and filters out those,