pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/postgresql14-client



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 19 08:09:41 UTC 2022

Modified Files:
        pkgsrc/databases/postgresql14-client: buildlink3.mk

Log Message:
postgresql14-client: optionally buildlink against lz4


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql14-client/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql14-client/buildlink3.mk
diff -u pkgsrc/databases/postgresql14-client/buildlink3.mk:1.2 pkgsrc/databases/postgresql14-client/buildlink3.mk:1.3
--- pkgsrc/databases/postgresql14-client/buildlink3.mk:1.2      Tue Jun 28 11:31:36 2022
+++ pkgsrc/databases/postgresql14-client/buildlink3.mk  Wed Oct 19 08:09:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2022/06/28 11:31:36 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2022/10/19 08:09:40 adam Exp $
 
 BUILDLINK_TREE+=       postgresql14-client
 
@@ -10,9 +10,16 @@ BUILDLINK_ABI_DEPENDS.postgresql14-clien
 BUILDLINK_PKGSRCDIR.postgresql14-client?=      ../../databases/postgresql14-client
 
 # This variable contains the libraries need to link most clients.
-BUILDLINK_LDADD.postgresql14-client=   -lpq ${BUILDLINK_LDADD.gettext}
+BUILDLINK_LDADD.postgresql14-client+=  -lpq ${BUILDLINK_LDADD.gettext}
 BUILDLINK_FILES.postgresql14-client+=  bin/pg_config
 
+pkgbase := postgresql14-client
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.postgresql14-client:Mlz4}
+.include "../../archivers/lz4/buildlink3.mk"
+.endif
+
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${OPSYS} == "SunOS"
 .include "../../devel/ossp-uuid/buildlink3.mk"



Home | Main Index | Thread Index | Old Index