pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/opendoas opendoas: Work around some blatant p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bf8633f0622
branches:  trunk
changeset: 378933:9bf8633f0622
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon May 09 15:21:19 2022 +0000

description:
opendoas: Work around some blatant problems on NetBSD with implict
function declaration and improper linkage.

diffstat:

 security/opendoas/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r f54563522f09 -r 9bf8633f0622 security/opendoas/Makefile
--- a/security/opendoas/Makefile        Mon May 09 14:54:35 2022 +0000
+++ b/security/opendoas/Makefile        Mon May 09 15:21:19 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/11/26 08:40:40 pin Exp $
+# $NetBSD: Makefile,v 1.4 2022/05/09 15:21:19 nia Exp $
 
 DISTNAME=      opendoas-6.8.1
 CATEGORIES=    security
@@ -14,6 +14,9 @@
 
 WRKSRC=                ${WRKDIR}/OpenDoas-${PKGVERSION_NOREV}
 
+CFLAGS.NetBSD+=                -D_OPENBSD_SOURCE
+LDFLAGS.NetBSD+=       -lutil
+
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   Fixing hardcoded paths.
 SUBST_STAGE.paths=     pre-configure



Home | Main Index | Thread Index | Old Index