diff options
author | tron <tron@pkgsrc.org> | 2002-09-25 15:54:23 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-09-25 15:54:23 +0000 |
commit | 5ba094652e40e306ddbd506deba94fe70ec750f4 (patch) | |
tree | 8163855bfbb9a907d670b7ce17b572b985d7e096 /devel | |
parent | ab8f6ae4d75316f961de766996e49fd382c351e9 (diff) | |
download | pkgsrc-5ba094652e40e306ddbd506deba94fe70ec750f4.tar.gz |
Fix silly bug in an utility script which wouldn't accept "gcc" if it is
called "cc".
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ptl2/distinfo | 3 | ||||
-rw-r--r-- | devel/ptl2/patches/patch-ag | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/devel/ptl2/distinfo b/devel/ptl2/distinfo index 1536cfa3b79..8e8a182ef8c 100644 --- a/devel/ptl2/distinfo +++ b/devel/ptl2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2002/08/25 19:22:38 jlam Exp $ +$NetBSD: distinfo,v 1.9 2002/09/25 15:54:23 tron Exp $ SHA1 (PTL-2.1.8.tar.gz) = b62ba82f12dd99e2ff8a20b15c2b02c809c07d16 Size (PTL-2.1.8.tar.gz) = 678474 bytes @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 9f72f1bfdb5b37e834de6494be10781f91d025e9 SHA1 (patch-ad) = c42cb8aa563787f4da73e08bcc7f03189236e480 SHA1 (patch-ae) = b513392a233c126e424164560f6a93d23dc2ae80 SHA1 (patch-af) = 55beff08977e374e37e44188757771f6eeedc999 +SHA1 (patch-ag) = 4702253d80a8d35ccf01b1fc23cba3df03281201 diff --git a/devel/ptl2/patches/patch-ag b/devel/ptl2/patches/patch-ag new file mode 100644 index 00000000000..cc3567ee2b9 --- /dev/null +++ b/devel/ptl2/patches/patch-ag @@ -0,0 +1,25 @@ +$NetBSD: patch-ag,v 1.1 2002/09/25 15:54:24 tron Exp $ + +--- Util/mkspecs.in.orig Mon Jun 21 14:36:53 1999 ++++ Util/mkspecs.in Wed Sep 25 17:49:05 2002 +@@ -17,11 +17,6 @@ + $recpathflags .= "$dest_libdir"; + } + +-if ($cc ne 'gcc') { +- print "Compiler is not gcc\n"; +- exit 0; +-} +- + undef $s; + if ($have_libsocket) { + $s = '-lsocket '; +@@ -30,7 +25,7 @@ + # get linker option + chop($linker_opt = <>); + +-open(SPECS, "gcc -dumpspecs|") || die ("cannot run gcc -dumpspecs: $!\n"); ++open(SPECS, "$cc -dumpspecs|") || die ("cannot run $cc -dumpspecs: $!\n"); + while (<SPECS>) { + chop; + if (/^\*(.*:)$/) { |