pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/vimb vimb: Reintroduce SunOS build fixes accidenta...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d977a207270e
branches: trunk
changeset: 328749:d977a207270e
user: leot <leot%pkgsrc.org@localhost>
date: Sat Jan 26 11:27:51 2019 +0000
description:
vimb: Reintroduce SunOS build fixes accidentally lost in vimb 3.x update
>From wip/vimb2, should hopefully fix build on SunOS.
PKGREVISION++
diffstat:
www/vimb/Makefile | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r db0594a00166 -r d977a207270e www/vimb/Makefile
--- a/www/vimb/Makefile Sat Jan 26 11:25:13 2019 +0000
+++ b/www/vimb/Makefile Sat Jan 26 11:27:51 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2018/12/09 18:52:50 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/01/26 11:27:51 leot Exp $
DISTNAME= vimb-3.3.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=fanglingsu/}
@@ -14,6 +14,15 @@
USE_LANGUAGES= c99
CFLAGS.NetBSD+= -D_NETBSD_SOURCE # needed for LOCK_* macros in <fcntl.h>
+LDFLAGS.SunOS+= -lsocket -lnsl
+
+# Bump _XOPEN_SOURCE version to 600 in order to avoid "Compiler or options
+# invalid for pre-UNIX 03 X/Open applications" error on SunOS
+SUBST_CLASSES+= configmk
+SUBST_STAGE.configmk= pre-configure
+SUBST_MESSAGE.configmk= Bump _XOPEN_SOURCE version
+SUBST_FILES.configmk= config.mk
+SUBST_SED.configmk+= -e '/_XOPEN_SOURCE/ s/500/600/'
EGDIR= ${PREFIX}/share/examples/vimb
Home |
Main Index |
Thread Index |
Old Index