diff options
author | dholland <dholland@pkgsrc.org> | 2013-07-18 08:01:30 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2013-07-18 08:01:30 +0000 |
commit | 53544e52ba5bf57acb1c1818e6312fb5dc7470f6 (patch) | |
tree | d6428579dfca7b4b27bd94c66512933524695221 /devel/imake | |
parent | 777bde971661124c8feba503605bf641a79d214b (diff) | |
download | pkgsrc-53544e52ba5bf57acb1c1818e6312fb5dc7470f6.tar.gz |
Disable the FIXUP_CPP_WHITESPACE hack as pkgsrc uses a whitespace-preserving
cpp with imake and "fixing" the whitespace again causes bizarre lossage.
Affects mostly svr4-based platforms, including Solaris.
PKGREVISION -> 3.
Diffstat (limited to 'devel/imake')
-rw-r--r-- | devel/imake/Makefile | 4 | ||||
-rw-r--r-- | devel/imake/distinfo | 4 | ||||
-rw-r--r-- | devel/imake/patches/patch-imakemdep.h | 23 |
3 files changed, 26 insertions, 5 deletions
diff --git a/devel/imake/Makefile b/devel/imake/Makefile index 5e50c889b1e..3b4cf517c7e 100644 --- a/devel/imake/Makefile +++ b/devel/imake/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2013/07/13 07:42:51 obache Exp $ +# $NetBSD: Makefile,v 1.18 2013/07/18 08:01:30 dholland Exp $ DISTNAME= imake-1.0.5 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 devel MASTER_SITES= ${MASTER_SITE_XORG:=util/} EXTRACT_SUFX= .tar.bz2 diff --git a/devel/imake/distinfo b/devel/imake/distinfo index bd090fe5d91..e356a42aa06 100644 --- a/devel/imake/distinfo +++ b/devel/imake/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2013/07/13 07:43:59 obache Exp $ +$NetBSD: distinfo,v 1.8 2013/07/18 08:01:30 dholland Exp $ SHA1 (imake-1.0.5.tar.bz2) = 1fd3dca267d125ad86583d7f9663b6ff532cddd1 RMD160 (imake-1.0.5.tar.bz2) = 0d29d2168b737c7fbe3420933625b4a883e1173f Size (imake-1.0.5.tar.bz2) = 148503 bytes SHA1 (patch-imake.c) = e66ad9c4001eb4dc36ef8285159927dbb5316620 -SHA1 (patch-imakemdep.h) = 38a23728979dc3cf4bd483c827f902f86d0e9c7c +SHA1 (patch-imakemdep.h) = b3ceede0de22273f1adafc2348d4f9b96e1fbfba diff --git a/devel/imake/patches/patch-imakemdep.h b/devel/imake/patches/patch-imakemdep.h index 4de4d375553..15cc4849426 100644 --- a/devel/imake/patches/patch-imakemdep.h +++ b/devel/imake/patches/patch-imakemdep.h @@ -1,7 +1,28 @@ -$NetBSD: patch-imakemdep.h,v 1.3 2013/07/13 07:42:52 obache Exp $ +$NetBSD: patch-imakemdep.h,v 1.4 2013/07/18 08:01:30 dholland Exp $ + + - Configure for pkgsrc: never set FIXUP_CPP_WHITESPACE as pkgsrc now +always uses a whitespace-preserving cpp and fixing it twice causes +bizarre lossage. + + - Remove all the "logic" for guessing how to invoke cpp, and get it +via RAWCPP defined on the command line. + + - Make argv[0] for invoking cpp "cpp" by default. + + - Do not pass -m32 to cpp; it is not portable, valid, or even a +reasonable thing to do. --- imakemdep.h.orig 2012-03-08 05:47:32.000000000 +0000 +++ imakemdep.h +@@ -237,7 +237,7 @@ in this Software without prior written a + * all colons). One way to tell if you need this is to see whether or not + * your Makefiles have no tabs in them and lots of @@ strings. + */ +-# if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || defined(__SCO__) || (defined(AMOEBA) && defined(CROSS_COMPILE)) || defined(__QNX__) || defined(__sgi) || defined(__UNIXOS2__) || defined(__UNIXWARE__) ++# if 0 + # define FIXUP_CPP_WHITESPACE + # endif + # ifdef WIN32 @@ -265,87 +265,7 @@ in this Software without prior written a * If the cpp you need is not in /lib/cpp, define DEFAULT_CPP. */ |