pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files honour LDFLAGS when linking...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa55a9de3a7b
branches:  trunk
changeset: 489037:aa55a9de3a7b
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Feb 15 08:55:55 2005 +0000

description:
honour LDFLAGS when linking the `bits' binary.

diffstat:

 pkgtools/libnbcompat/files/Makefile.in |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e663bff6bde9 -r aa55a9de3a7b pkgtools/libnbcompat/files/Makefile.in
--- a/pkgtools/libnbcompat/files/Makefile.in    Tue Feb 15 08:48:34 2005 +0000
+++ b/pkgtools/libnbcompat/files/Makefile.in    Tue Feb 15 08:55:55 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.27 2004/08/23 03:32:12 jlam Exp $
+# $NetBSD: Makefile.in,v 1.28 2005/02/15 08:55:55 grant Exp $
 #
 
 srcdir=                @srcdir@
@@ -7,6 +7,7 @@
 SHELL=         /bin/sh
 
 CC=            @CC@
+CCLD=          @CC@
 CFLAGS=                -I$(srcdir) -I. @INCLUDES@ @CFLAGS@
 CPPFLAGS=      @CPPFLAGS@
 DEFS=          @DEFS@
@@ -76,8 +77,8 @@
 nbcompat/nbtypes.h: bits
        ./bits $@
 
-bits: bits.c
-       $(COMPILE) $(DEFS) -o bits bits.c
+bits: bits.o
+       $(LINK) $<
 
 install:
        $(INSTALL) -m 755 -d $(prefix)/lib



Home | Main Index | Thread Index | Old Index