diff options
author | rillig <rillig> | 2006-05-31 10:13:23 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-05-31 10:13:23 +0000 |
commit | 44d5594abcd334352e430dc2e452e9c0e73393d7 (patch) | |
tree | 02775d197fe54812d587b49ad056a510062a9587 /databases/db4 | |
parent | 9f0e120938af6ccac36793f330c4792653810e8f (diff) | |
download | pkgsrc-44d5594abcd334352e430dc2e452e9c0e73393d7.tar.gz |
Load the files bsd.prefs.mk and compiler.mk only once.
Diffstat (limited to 'databases/db4')
-rw-r--r-- | databases/db4/buildlink3.mk | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk index 326a640d089..155fd908a86 100644 --- a/databases/db4/buildlink3.mk +++ b/databases/db4/buildlink3.mk @@ -1,10 +1,8 @@ -# $NetBSD: buildlink3.mk,v 1.26 2006/04/06 06:21:40 reed Exp $ +# $NetBSD: buildlink3.mk,v 1.27 2006/05/31 10:13:23 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+ -.include "../../mk/bsd.prefs.mk" - .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= db4 .endif @@ -19,6 +17,7 @@ BUILDLINK_INCDIRS.db4?= include/db4 BUILDLINK_LDADD.db4= -ldb4 BUILDLINK_TRANSFORM+= l:db-4:db4 +. include "../../mk/bsd.prefs.mk" . if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS]) # # Older db4 packages didn't enable the db-1.85 compatibility API. @@ -27,12 +26,12 @@ BUILDLINK_API_DEPENDS.db4+= db4>=4.2.52nb1 BUILDLINK_LIBS.db4= ${BUILDLINK_LDADD.db4} BUILDLINK_TRANSFORM+= l:db:db4 . endif -.endif # DB4_BUILDLINK3_MK -.include "../../mk/compiler.mk" -.if empty(PKGSRC_COMPILER:Mgcc) +. include "../../mk/compiler.mk" +. if empty(PKGSRC_COMPILER:Mgcc) PTHREAD_OPTS+= native -. include "../../mk/pthread.buildlink3.mk" -.endif +. include "../../mk/pthread.buildlink3.mk" +. endif +.endif # DB4_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |