pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/db4 Include bsd.prefs.mk before testing the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a93682035b7
branches:  trunk
changeset: 483675:1a93682035b7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Nov 17 06:04:43 2004 +0000

description:
Include bsd.prefs.mk before testing the value of USE_JAVA, and move
pthread.buildlink3.mk higher before any target definitions to follow
package Makefile standards.

diffstat:

 databases/db4/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 8b5657302f2e -r 1a93682035b7 databases/db4/Makefile
--- a/databases/db4/Makefile    Wed Nov 17 04:30:00 2004 +0000
+++ b/databases/db4/Makefile    Wed Nov 17 06:04:43 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/11/16 23:45:25 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2004/11/17 06:04:43 jlam Exp $
 
 DISTNAME=              db-4.2.52
 PKGNAME=               ${DISTNAME:S/db/db4/}
@@ -30,6 +30,8 @@
 CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/db4
 CONFIGURE_ARGS+=       --program-transform-name=s,db_,db4_,
 
+.include "../../mk/bsd.prefs.mk"
+
 # NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
 # needed for this package the following does no harm on other platform.
 CONFIGURE_ENV+=                F77=${FALSE}
@@ -43,8 +45,9 @@
 LIBSO_LIBS.SunOS+=     -lnsl
 CONFIGURE_ENV+=                LIBSO_LIBS="${LIBSO_LIBS}"
 
+.include "../../mk/pthread.buildlink3.mk"
+
 post-install:
        ${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/doc/html/db4
 
-.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index