pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/gv
Module Name: pkgsrc
Committed By: rillig
Date: Sun Mar 21 00:11:40 UTC 2021
Modified Files:
pkgsrc/print/gv: Makefile
Log Message:
print/gc: allow to build with neXtaw
Patch provided by Simon Adda-Reyss via private mail.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/print/gv/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/gv/Makefile
diff -u pkgsrc/print/gv/Makefile:1.89 pkgsrc/print/gv/Makefile:1.90
--- pkgsrc/print/gv/Makefile:1.89 Mon Aug 31 18:11:01 2020
+++ pkgsrc/print/gv/Makefile Sun Mar 21 00:11:40 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2020/08/31 18:11:01 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2021/03/21 00:11:40 rillig Exp $
DISTNAME= gv-3.7.4
PKGREVISION= 10
@@ -24,6 +24,17 @@ XAW_TYPE?= 3d
XAW_TYPE= 3d
.endif
+.if ${XAW_TYPE} == "neXtaw"
+# The original configure links against Xaw3d, not Xaw.
+BUILDLINK_TRANSFORM+= l:Xaw3d:neXtaw
+SUBST_CLASSES+= gvnextaw
+SUBST_MESSAGE.gvnextaw= Patching gv to use neXtaw
+SUBST_STAGE.gvnextaw= pre-configure
+SUBST_FILES.gvnextaw= configure
+SUBST_FILES.gvnextaw+= src/paths.h
+SUBST_SED.gvnextaw= -e 's,<X11/Xaw3d/,<X11/neXtaw/,g'
+.endif
+
# Solaris-2.{8,9}/sparc are missing setenv() and unsetenv()
# it is probably true that 5.6, 5.7, 5.8, and 5.9 all have
# this problem. It appears that 5.10 does not need this flag.
Home |
Main Index |
Thread Index |
Old Index