summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-02-15 08:55:55 +0000
committergrant <grant@pkgsrc.org>2005-02-15 08:55:55 +0000
commita0c0ad2340672985d521e2845c80778191f7c03a (patch)
tree191f3c64414e2cf4039eeccc9ed1297542032929 /pkgtools
parent986adbbacaffb68506ee3ccd2087b47ad81bcc2d (diff)
downloadpkgsrc-a0c0ad2340672985d521e2845c80778191f7c03a.tar.gz
honour LDFLAGS when linking the `bits' binary.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/Makefile.in b/pkgtools/libnbcompat/files/Makefile.in
index 1f275f141fd..24ea56012e6 100644
--- a/pkgtools/libnbcompat/files/Makefile.in
+++ b/pkgtools/libnbcompat/files/Makefile.in
@@ -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 @@ VPATH= @srcdir@
SHELL= /bin/sh
CC= @CC@
+CCLD= @CC@
CFLAGS= -I$(srcdir) -I. @INCLUDES@ @CFLAGS@
CPPFLAGS= @CPPFLAGS@
DEFS= @DEFS@
@@ -76,8 +77,8 @@ nbcompat/nbconfig.h: nbcompat/config.h nbcompat.awk
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