pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/qdbm Honor CFLAGS and LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e13e901e22d
branches:  trunk
changeset: 501808:9e13e901e22d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Oct 29 15:33:35 2005 +0000

description:
Honor CFLAGS and LDFLAGS.

diffstat:

 databases/qdbm/Makefile         |   6 +++---
 databases/qdbm/distinfo         |   4 ++--
 databases/qdbm/patches/patch-aa |  12 +++++++-----
 3 files changed, 12 insertions(+), 10 deletions(-)

diffs (62 lines):

diff -r 9e98f39c1cf2 -r 9e13e901e22d databases/qdbm/Makefile
--- a/databases/qdbm/Makefile   Sat Oct 29 15:33:17 2005 +0000
+++ b/databases/qdbm/Makefile   Sat Oct 29 15:33:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2005/10/29 15:33:35 minskim Exp $
 #
 
 DISTNAME=      qdbm-1.8.33
@@ -22,8 +22,8 @@
 CONFIGURE_ARGS+=        --without-pthread
 .else
 CONFIGURE_ARGS+=       --enable-pthread
-CONFIGURE_ENV+=                CFLAGS=${PTHREAD_CFLAGS:Q}
-CONFIGURE_ENV+=                LDFLAGS=${PTHREAD_LDFLAGS:Q}
+CFLAGS+=               ${PTHREAD_CFLAGS}
+LDFLAGS+=              ${PTHREAD_LDFLAGS}
 SUBST_CLASSES+=                pthread
 SUBST_STAGE.pthread=   pre-configure
 SUBST_FILES.pthread=   configure
diff -r 9e98f39c1cf2 -r 9e13e901e22d databases/qdbm/distinfo
--- a/databases/qdbm/distinfo   Sat Oct 29 15:33:17 2005 +0000
+++ b/databases/qdbm/distinfo   Sat Oct 29 15:33:35 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $
+$NetBSD: distinfo,v 1.2 2005/10/29 15:33:35 minskim Exp $
 
 SHA1 (qdbm-1.8.33.tar.gz) = cac04ceb3b10b024cd3d34af4984643247e54141
 RMD160 (qdbm-1.8.33.tar.gz) = 28f74519675ed711132e8d0556b0520c56abef4c
 Size (qdbm-1.8.33.tar.gz) = 863217 bytes
-SHA1 (patch-aa) = 80512f7eab71eba068c84bb227c2c2306f6ce309
+SHA1 (patch-aa) = bc1a7c486e47c3137108fad4304c000d26a907f9
diff -r 9e98f39c1cf2 -r 9e13e901e22d databases/qdbm/patches/patch-aa
--- a/databases/qdbm/patches/patch-aa   Sat Oct 29 15:33:17 2005 +0000
+++ b/databases/qdbm/patches/patch-aa   Sat Oct 29 15:33:35 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2005/10/29 15:33:35 minskim Exp $
 
---- Makefile.in.orig   2005-09-01 04:19:56.000000000 +0900
+--- Makefile.in.orig   2005-08-31 12:19:56.000000000 -0700
 +++ Makefile.in
 @@ -45,13 +45,13 @@ MYLIBDIR = @libdir@
  MYBINDIR = @bindir@
@@ -18,12 +18,14 @@
  CPPFLAGS = -I$(srcdir) -I$(HOME)/include -I/usr/local/include @MYDEFS@ \
    -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
    -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
-@@ -59,7 +59,7 @@ CPPFLAGS = -I$(srcdir) -I$(HOME)/include
+@@ -59,8 +59,8 @@ CPPFLAGS = -I$(srcdir) -I$(HOME)/include
  CFLAGS = -Wall -ansi -pedantic -fPIC -fsigned-char $(RELCFLAGS)
  LD = @LD@
  LIBS = -lqdbm @LIBS@
 -LIBLDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@
-+LIBLDFLAGS = $(PTHREAD_LDFLAGS) -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@
- LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
+-LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
++LIBLDFLAGS = @LDFLAGS@ -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@
++LDFLAGS = @LDFLAGS@ -L. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
  LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:$(MYLIBDIR)
  AR = @AR@
+ ARFLAGS = rcsv



Home | Main Index | Thread Index | Old Index