pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/gv Modify this pkg so it works with either xaw-x...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1a282656598
branches:  trunk
changeset: 505088:d1a282656598
user:      garbled <garbled%pkgsrc.org@localhost>
date:      Fri Dec 30 04:00:01 2005 +0000

description:
Modify this pkg so it works with either xaw-xpm or xaw3d.  If XAW_TYPE is
set to "standard" automatically promote it to xaw3d, as the pkg will not
work with stock xaw.  Change approved by Matthias (maintainer)

diffstat:

 print/gv/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r fc281ad3b794 -r d1a282656598 print/gv/Makefile
--- a/print/gv/Makefile Fri Dec 30 02:03:20 2005 +0000
+++ b/print/gv/Makefile Fri Dec 30 04:00:01 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2005/11/28 06:41:21 jlam Exp $
+# $NetBSD: Makefile,v 1.57 2005/12/30 04:00:01 garbled Exp $
 
 DISTNAME=      gv-3.6.1
 CATEGORIES=    print
@@ -15,6 +15,13 @@
 TEXINFO_REQD=          4.2
 INFO_FILES=            gv.info
 
+# this pkg does not work with std xaw, but xpm and xaw3d work
+XAW_TYPE?=             3d
+.include "../../mk/bsd.prefs.mk"
+.if ${XAW_TYPE} == "standard"
+XAW_TYPE=              3d
+.endif
+
 .if !exists(/usr/include/getopt.h)
 .  include "../../pkgtools/libnbcompat/buildlink3.mk"
 post-extract:
@@ -22,5 +29,5 @@
 
 .endif
 
-.include "../../x11/Xaw3d/buildlink3.mk"
+.include "../../mk/xaw.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index