pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xidle
Module Name: pkgsrc
Committed By: vins
Date: Wed Dec 7 09:15:36 UTC 2022
Modified Files:
pkgsrc/x11/xidle: Makefile
Log Message:
x11/xidle: define _OPENBSD_SOURCE on NetBSD to declare strtonum().
In addition:
* Switch distfile hosting from SDF.org to ftp.netbsd.org.
* Replace MAKEFLAGS with MAKE_FLAGS.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/xidle/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/xidle/Makefile
diff -u pkgsrc/x11/xidle/Makefile:1.2 pkgsrc/x11/xidle/Makefile:1.3
--- pkgsrc/x11/xidle/Makefile:1.2 Tue Dec 6 14:41:39 2022
+++ pkgsrc/x11/xidle/Makefile Wed Dec 7 09:15:36 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/12/06 14:41:39 vins Exp $
+# $NetBSD: Makefile,v 1.3 2022/12/07 09:15:36 vins Exp $
DISTNAME= xidle-20220718
CATEGORIES= x11
-MASTER_SITES= https://sehnsucht.multics.org/pub/pkgsrc/distfiles/
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/vins/dists/
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= .tar.xz
@@ -11,9 +11,9 @@ HOMEPAGE= https://man.openbsd.org/xidle.
COMMENT= Run a program on X inactivity
LICENSE= isc
-MAKEFLAGS+= X11BASE=${X11BASE}
-MAKEFLAGS+= MANDIR=${PKGMANDIR}
-MAKEFLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= X11BASE=${X11BASE}
+MAKE_FLAGS+= MANDIR=${PKGMANDIR}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
@@ -30,7 +30,11 @@ do-install:
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Linux" # strtonum()
+.if ${OPSYS} == "NetBSD" # strtonum()
+CFLAGS+= -D_OPENBSD_SOURCE
+.endif
+
+.if ${OPSYS} == "Linux" # strtonum()
LDFLAGS+= -lbsd
.include "../../devel/libbsd/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index