pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/vimb
Module Name: pkgsrc
Committed By: leot
Date: Sat Jan 26 11:27:51 UTC 2019
Modified Files:
pkgsrc/www/vimb: Makefile
Log Message:
vimb: Reintroduce SunOS build fixes accidentally lost in vimb 3.x update
>From wip/vimb2, should hopefully fix build on SunOS.
PKGREVISION++
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/vimb/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/vimb/Makefile
diff -u pkgsrc/www/vimb/Makefile:1.27 pkgsrc/www/vimb/Makefile:1.28
--- pkgsrc/www/vimb/Makefile:1.27 Sun Dec 9 18:52:50 2018
+++ pkgsrc/www/vimb/Makefile Sat Jan 26 11:27:51 2019
@@ -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
Home |
Main Index |
Thread Index |
Old Index