Subject: CVS commit: pkgsrc/x11/libXt
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 08/01/2007 16:52:50
Module Name:	pkgsrc
Committed By:	joerg
Date:		Wed Aug  1 16:52:50 UTC 2007

Modified Files:
	pkgsrc/x11/libXt: Makefile distinfo
Added Files:
	pkgsrc/x11/libXt/patches: patch-aa patch-ab patch-ac patch-ad patch-ae
	    patch-af

Log Message:
Teach libXt about cross-compiliation:
- add an automake conditional to configure
- use that to build xmakestr using manual build rules. X11_CFLAGS is
  honoured, but not CFLAGS as the latter is likely to contain platform
  specific flags.
- use either makestr or xmakestr for building StringDefs.c, depending
  on whether we are cross-compiling or not.
- pass down native compiler and flags for cross-compiliation

Supported-by: Google SoC 2007


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/x11/libXt/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/x11/libXt/distinfo
cvs rdiff -r0 -r1.3 pkgsrc/x11/libXt/patches/patch-aa \
    pkgsrc/x11/libXt/patches/patch-ab
cvs rdiff -r0 -r1.1 pkgsrc/x11/libXt/patches/patch-ac \
    pkgsrc/x11/libXt/patches/patch-ad pkgsrc/x11/libXt/patches/patch-ae \
    pkgsrc/x11/libXt/patches/patch-af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.