pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/pngcrush Added LDFLAGS, which is sometimes ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66ef1c43ec96
branches:  trunk
changeset: 540023:66ef1c43ec96
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 22 08:48:17 2008 +0000

description:
Added LDFLAGS, which is sometimes needed

diffstat:

 graphics/pngcrush/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5d607b468704 -r 66ef1c43ec96 graphics/pngcrush/Makefile
--- a/graphics/pngcrush/Makefile        Sat Mar 22 04:41:30 2008 +0000
+++ b/graphics/pngcrush/Makefile        Sat Mar 22 08:48:17 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/03/04 15:39:10 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2008/03/22 08:48:17 adam Exp $
 
 DISTNAME=      pngcrush-1.6.4-nolib
 PKGNAME=       pngcrush-1.6.4
@@ -18,7 +18,7 @@
 do-build:
        cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
                ${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
-               `libpng-config --ldflags` -lz
+               ${LDFLAGS} `libpng-config --ldflags` -lz
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index