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 12:49:52 UTC 2023

Modified Files:
        pkgsrc/devel/objfw: Makefile

Log Message:
devel/objfw: Always compile using clang


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 pkgsrc/devel/objfw/Makefile:1.6
--- pkgsrc/devel/objfw/Makefile:1.5     Tue Aug 29 16:24:40 2023
+++ pkgsrc/devel/objfw/Makefile Wed Aug 30 12:49:52 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2023/08/29 16:24:40 js Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/30 12:49:52 js Exp $
 
 DISTNAME=      objfw-1.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  https://objfw.nil.im/downloads/
 
@@ -12,9 +13,10 @@ LICENSE=     qpl-v1.0 OR gnu-gpl-v2 OR gnu-g
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         objc
 CONFIGURE_ARGS+=       --enable-static
-CONFIGURE_ARGS+=       OBJC=${CC:M*:Q}
+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
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -36,4 +38,5 @@ PLIST_SRC+=   PLIST.ddp
 PLIST_SRC+=    PLIST.ipx
 .endif
 
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index