pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/objpgsql



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec 18 10:30:57 UTC 2024

Modified Files:
        pkgsrc/databases/objpgsql: Makefile buildlink3.mk

Log Message:
objpgsq: add missing tool dependency

while here, fix actual bugs that pkglint detected.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/objpgsql/Makefile \
    pkgsrc/databases/objpgsql/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/objpgsql/Makefile
diff -u pkgsrc/databases/objpgsql/Makefile:1.1 pkgsrc/databases/objpgsql/Makefile:1.2
--- pkgsrc/databases/objpgsql/Makefile:1.1      Sun Aug 11 18:12:44 2024
+++ pkgsrc/databases/objpgsql/Makefile  Wed Dec 18 10:30:56 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2024/08/11 18:12:44 js Exp $
+# $NetBSD: Makefile,v 1.2 2024/12/18 10:30:56 wiz Exp $
 
 DISTNAME=      objpgsql-1.0
-CATEGORIES=    database
+CATEGORIES=    databases
 MASTER_SITES=  https://fl.nil.im/objpgsql/tarball/${PKGVERSION_NOREV}-release/
 
 MAINTAINER=    js%NetBSD.org@localhost
@@ -13,6 +13,12 @@ USE_LANGUAGES=               objc
 USE_TOOLS+=            pkg-config
 PKGSRC_COMPILER=       clang   # Needs to be the same as devel/objfw
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+TOOL_DEPENDS+=         clang>=3.2:../../lang/clang
+.endif
+
 .include "../../devel/objfw/buildlink3.mk"
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../devel/meson/build.mk"
Index: pkgsrc/databases/objpgsql/buildlink3.mk
diff -u pkgsrc/databases/objpgsql/buildlink3.mk:1.1 pkgsrc/databases/objpgsql/buildlink3.mk:1.2
--- pkgsrc/databases/objpgsql/buildlink3.mk:1.1 Sun Aug 11 18:12:45 2024
+++ pkgsrc/databases/objpgsql/buildlink3.mk     Wed Dec 18 10:30:56 2024
@@ -1,13 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1 2024/08/11 18:12:45 js Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2024/12/18 10:30:56 wiz Exp $
 
 BUILDLINK_TREE+=       objpgsql
 
 .if !defined(OBJPGSQL_BUILDLINK3_MK)
 OBJPGSQL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.objpgsqsl+=      objpgsql>=1.0
+BUILDLINK_API_DEPENDS.objpgsql+=       objpgsql>=1.0
 BUILDLINK_ABI_DEPENDS.objpgsql+=       objpgsql>=1.0
-BUILDLINK_PKGSRCDIR.objpgsql?=         ../../database/objpgsql
+BUILDLINK_PKGSRCDIR.objpgsql?=         ../../databases/objpgsql
 .endif
 
 BUILDLINK_TREE+=       -objpgsql



Home | Main Index | Thread Index | Old Index