Skip to content

Commit

Permalink
news/libcanlock: Use new variables to request a C99 compiler
Browse files Browse the repository at this point in the history
Bump, because now the mode should always be set (if default is not C99).
  • Loading branch information
micha committed Aug 21, 2023
1 parent 30194a0 commit 1594945
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions news/libcanlock/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.9 2022/10/14 11:36:21 micha Exp $
# $NetBSD: Makefile,v 1.10 2023/08/21 13:29:44 micha Exp $

DISTNAME= libcanlock-3.3.0
PKGREVISION= 1
CATEGORIES= news
MASTER_SITES= http://micha.freeshell.org/libcanlock/src/
EXTRACT_SUFX= .tar.bz2
Expand All @@ -10,7 +11,8 @@ HOMEPAGE= https://micha.freeshell.org/libcanlock/
COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation
LICENSE= mit AND modified-bsd

USE_LANGUAGES+= c99
FORCE_C_STD= c99
USE_CC_FEATURES+= c99
USE_LIBTOOL= yes

GNU_CONFIGURE= yes
Expand Down
4 changes: 3 additions & 1 deletion news/libcanlock/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2018/08/27 15:14:03 wiz Exp $
# $NetBSD: buildlink3.mk,v 1.2 2023/08/21 13:29:44 micha Exp $

BUILDLINK_TREE+= libcanlock

.if !defined(LIBCANLOCK_BUILDLINK3_MK)
LIBCANLOCK_BUILDLINK3_MK:=

USE_CC_FEATURES+= c99

BUILDLINK_API_DEPENDS.libcanlock+= libcanlock>=3.0.0
BUILDLINK_PKGSRCDIR.libcanlock?= ../../news/libcanlock
.endif # LIBCANLOCK_BUILDLINK3_MK
Expand Down

0 comments on commit 1594945

Please sign in to comment.