pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/openmotif Remove building some data files that are...
details: https://anonhg.NetBSD.org/pkgsrc/rev/046368590616
branches: trunk
changeset: 532295:046368590616
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Aug 15 19:26:39 2007 +0000
description:
Remove building some data files that aren't used anyway.
Add cross-compilation support for the rest.
diffstat:
x11/openmotif/Makefile | 10 +++++++++-
x11/openmotif/distinfo | 4 +++-
x11/openmotif/patches/patch-bl | 23 +++++++++++++++++++++++
x11/openmotif/patches/patch-bm | 20 ++++++++++++++++++++
4 files changed, 55 insertions(+), 2 deletions(-)
diffs (90 lines):
diff -r 72089414d35d -r 046368590616 x11/openmotif/Makefile
--- a/x11/openmotif/Makefile Wed Aug 15 19:09:50 2007 +0000
+++ b/x11/openmotif/Makefile Wed Aug 15 19:26:39 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2006/12/15 19:13:22 joerg Exp $
+# $NetBSD: Makefile,v 1.52 2007/08/15 19:26:39 joerg Exp $
PKGVER= 2.2.3
DISTNAME= openMotif-${PKGVER}
@@ -50,6 +50,14 @@
SUBST_SED.man_rename+= -e 's: Object.3: XObject.3:g'
SUBST_SED.man_rename+= -e 's: Shell.3: XShell.3:g'
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no
+.endif
+
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+MAKE_FLAGS+= CROSS_COMPILING=yes CC_FOR_BUILD=${NATIVE_CC:Q} \
+ CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
+.endif
# 1) Fix the man pages to refer to the correct sections.
# 2) Change references to {Core,Object,Shell}.3 to X{Core,Object,Shell}.3 to
diff -r 72089414d35d -r 046368590616 x11/openmotif/distinfo
--- a/x11/openmotif/distinfo Wed Aug 15 19:09:50 2007 +0000
+++ b/x11/openmotif/distinfo Wed Aug 15 19:26:39 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2006/12/15 19:13:22 joerg Exp $
+$NetBSD: distinfo,v 1.25 2007/08/15 19:26:39 joerg Exp $
SHA1 (openMotif-2.2.3.tar.gz) = c463653d9f8e24b35522c3ba6363ddf7a282eab4
RMD160 (openMotif-2.2.3.tar.gz) = b99230d508da57bca72b6920d28fce4187bf5179
@@ -24,3 +24,5 @@
SHA1 (patch-bi) = 4dced20ce293f8635f121f77e9112e93766b9723
SHA1 (patch-bj) = ac2b1d9fc09ff1bc712e776a3e2e469c1993c385
SHA1 (patch-bk) = 3d8c264c8060616878dec5a7a21a479aa801e95d
+SHA1 (patch-bl) = 905bec86af6d8d139faa2ca185adf3e8b58c1dea
+SHA1 (patch-bm) = 7d41d373b7428cd9eb53841b6636318431d40206
diff -r 72089414d35d -r 046368590616 x11/openmotif/patches/patch-bl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/openmotif/patches/patch-bl Wed Aug 15 19:26:39 2007 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-bl,v 1.1 2007/08/15 19:26:39 joerg Exp $
+
+--- tools/wml/Makefile.in.orig 2004-04-06 19:50:28.000000000 +0200
++++ tools/wml/Makefile.in
+@@ -426,17 +426,7 @@ UilLexPars.c: Uil.c
+ $(LN_S) Uil.h UilLexPars.h
+ $(LN_S) Uil.c UilLexPars.c
+
+-$(WMLTARGETS): wmluiltok wml UilLexPars.c $(TABLE)
+- $(RM) $(WMLTARGETS) wml.report wml-uil.mm
+- ./wmluiltok <$(srcdir)/Uil.y >tokens.dat
+- $(RM) wml-uil.mm
+- ./wml $(srcdir)/$(TABLE)
+- $(RM) tokens.dat
+-
+-all: motif.wmd
+-
+-motif.wmd: wmldbcreate
+- ./wmldbcreate -o motif.wmd
++all:
+
+ clean-local:
+ $(RM) $(WMLTARGETS) $(WMDTABLE) $(REPORT) lex.yy.c libwml.a wml \
diff -r 72089414d35d -r 046368590616 x11/openmotif/patches/patch-bm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/openmotif/patches/patch-bm Wed Aug 15 19:26:39 2007 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-bm,v 1.1 2007/08/15 19:26:39 joerg Exp $
+
+--- config/util/Makefile.in.orig 2007-08-06 16:22:42.000000000 +0200
++++ config/util/Makefile.in
+@@ -197,9 +197,15 @@ distclean-libtool:
+
+ maintainer-clean-libtool:
+
++ifndef CROSS_COMPILING
+ makestrs$(EXEEXT): $(makestrs_OBJECTS) $(makestrs_DEPENDENCIES)
+ @rm -f makestrs$(EXEEXT)
+ $(LINK) $(makestrs_LDFLAGS) $(makestrs_OBJECTS) $(makestrs_LDADD) $(LIBS)
++else
++makestrs$(EXEEXT): $(makestrs_SOURCES) $(makestrs_DEPENDENCIES)
++ $(CC_FOR_BUILD) $(X_CFLAGS) $(CPPFLAGS_FOR_BUILD) \
++ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ makestrs.c
++endif
+
+ tags: TAGS
+
Home |
Main Index |
Thread Index |
Old Index