pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/feh feh: do not try to use strverscmp on !linux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb5c0a18b290
branches:  trunk
changeset: 403491:cb5c0a18b290
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Oct 28 09:27:53 2019 +0000

description:
feh: do not try to use strverscmp on !linux

diffstat:

 graphics/feh/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 529745fa0a69 -r cb5c0a18b290 graphics/feh/Makefile
--- a/graphics/feh/Makefile     Mon Oct 28 09:06:44 2019 +0000
+++ b/graphics/feh/Makefile     Mon Oct 28 09:27:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2019/08/22 12:23:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.100 2019/10/28 09:27:53 nia Exp $
 
 DISTNAME=      feh-3.2.1
 PKGREVISION=   1
@@ -17,11 +17,13 @@
 
 # for alphasort(3)
 CFLAGS.NetBSD+=                -D_NETBSD_SOURCE
+
 # for undefined reference error from strverscmp(3)
 .include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} != "Linux"
 BUILD_MAKE_FLAGS+=     verscmp=0
 .endif
+
 LDFLAGS.SunOS+=                -lnsl -lsocket
 
 BUILDLINK_DEPMETHOD.libXt?=    build



Home | Main Index | Thread Index | Old Index