pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/objfw



Module Name:    pkgsrc
Committed By:   js
Date:           Wed Aug 30 13:02:21 UTC 2023

Modified Files:
        pkgsrc/devel/objfw: Makefile

Log Message:
devel/objfw: Fix clang not being picked up correctly


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/objfw/Makefile

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

Modified files:

Index: pkgsrc/devel/objfw/Makefile
diff -u pkgsrc/devel/objfw/Makefile:1.6 pkgsrc/devel/objfw/Makefile:1.7
--- pkgsrc/devel/objfw/Makefile:1.6     Wed Aug 30 12:49:52 2023
+++ pkgsrc/devel/objfw/Makefile Wed Aug 30 13:02:21 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2023/08/30 12:49:52 js Exp $
+# $NetBSD: Makefile,v 1.7 2023/08/30 13:02:21 js Exp $
 
 DISTNAME=      objfw-1.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  https://objfw.nil.im/downloads/
 
@@ -16,7 +16,7 @@ CONFIGURE_ARGS+=      --enable-static
 CONFIGURE_ARGS+=       OBJC=clang      # Clang has much better ObjC support
 CONFIGURE_ARGS+=       OBJCFLAGS=${CFLAGS:M*:Q}
 CONFIGURE_ARGS+=       LDFLAGS=${LDFLAGS:M*:Q}
-BUILD_DEPENDS+=                clang-[0-9]*:../../lang/clang
+PKGSRC_COMPILER=       clang
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -38,5 +38,6 @@ PLIST_SRC+=   PLIST.ddp
 PLIST_SRC+=    PLIST.ipx
 .endif
 
+.include "../../lang/clang/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index