summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2012-05-01 19:04:06 +0000
committeradam <adam@pkgsrc.org>2012-05-01 19:04:06 +0000
commit721585bd81cc7d5c9c994b080b8337a055f2bc60 (patch)
tree8324e12bd8c51ef8ea0e467675de1b8e826619c8 /graphics
parent1e1a643521bfe4696fb93156beffb65655167129 (diff)
downloadpkgsrc-721585bd81cc7d5c9c994b080b8337a055f2bc60.tar.gz
Pass OBJC to configure script
Diffstat (limited to 'graphics')
-rw-r--r--graphics/SDL_image/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/SDL_image/Makefile b/graphics/SDL_image/Makefile
index 2d0e3ce9d9f..457971f7b4f 100644
--- a/graphics/SDL_image/Makefile
+++ b/graphics/SDL_image/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2012/02/06 12:40:16 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2012/05/01 19:04:06 adam Exp $
DISTNAME= SDL_image-1.2.12
PKGREVISION= 1
@@ -18,13 +18,14 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-tif
+CONFIGURE_ENV+= OBJC=${CC:Q}
INSTALLATION_DIRS= bin
PKGCONFIG_OVERRIDE= SDL_image.pc.in
post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/showimage \
- ${DESTDIR:Q}${PREFIX:Q}/bin
+ ${DESTDIR}${PREFIX}/bin
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.10
.include "../../devel/SDL/buildlink3.mk"