diff options
author | leot <leot@pkgsrc.org> | 2019-01-26 11:27:51 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-01-26 11:27:51 +0000 |
commit | 638b1b497843d69919d36170ff3108cb16458820 (patch) | |
tree | 1c9a82f18899ab82afefb2b8294b75d5336af474 /www/vimb | |
parent | 0310f52cff52bcdbaa5cb64ca52c4a894dfc9fc2 (diff) | |
download | pkgsrc-638b1b497843d69919d36170ff3108cb16458820.tar.gz |
vimb: Reintroduce SunOS build fixes accidentally lost in vimb 3.x update
From wip/vimb2, should hopefully fix build on SunOS.
PKGREVISION++
Diffstat (limited to 'www/vimb')
-rw-r--r-- | www/vimb/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/www/vimb/Makefile b/www/vimb/Makefile index 700260319bf..5ac2880add8 100644 --- a/www/vimb/Makefile +++ b/www/vimb/Makefile @@ -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_TOOLS+= gmake pkg-config 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 |