summaryrefslogtreecommitdiff
path: root/graphics/feh
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-10-28 09:27:53 +0000
committernia <nia@pkgsrc.org>2019-10-28 09:27:53 +0000
commit27cd57a54c2fc1f9ab7640c76aceb8cd1058036f (patch)
tree2b3dbd72bdb63cdf03d6a2023bc89539257f99c4 /graphics/feh
parent7f74f7e648ab9e9f6806018e8f65ea1bf6acb997 (diff)
downloadpkgsrc-27cd57a54c2fc1f9ab7640c76aceb8cd1058036f.tar.gz
feh: do not try to use strverscmp on !linux
Diffstat (limited to 'graphics/feh')
-rw-r--r--graphics/feh/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile
index 4b59b993a77..1e693d85e77 100644
--- a/graphics/feh/Makefile
+++ b/graphics/feh/Makefile
@@ -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 @@ USE_TOOLS+= gmake
# 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