pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45287: sysutils/cdrtools fails to detect correct compiler
The following reply was made to PR pkg/45287; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/45287: sysutils/cdrtools fails to detect correct compiler
Date: Fri, 26 Aug 2011 13:49:30 +0300
> =A0> =A0 Try to replace
> =A0> =A0 =A0 =A0MAKE_ENV+=3D =A0 =A0 CCOM=3D"gcc"
> =A0> =A0 with
> =A0> =A0 =A0 =A0MAKE_FLAGS+=3D =A0 CCOM=3D"gcc"
> =A0>
> =A0> =A0 Does this change solve the problem?
>
> =A0Yes, now the configure stage succeeds and the package gets built.
Could you please check that the following patch also solve the problem?
It's uuencoded. For decoding, run uudecode. Also, I added
plain text but gnats will probaly break it.
begin 644 -
M26YD97@Z($UA:V5F:6QE"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I
M;&4Z("]C=3DG-R;V]T+W!K9W-R8R]S>7-U=3D&EL<R]C9')T;V]L<R]-86ME9FEL
M92QV"G)E=3D')I979I;F<@<F5V:7-I;VX@,2XX,0ID:69F("UU("UR,2XX,2!-
M86ME9FEL90HM+2T@36%K969I;&4@("`@,3(@2G5L(#(P,3$@,3,Z,S(Z,C4@
M+3`P,#`@("`@("`Q+C@Q"BLK*R!-86ME9FEL92`@("`R-B!!=3D6<@,C`Q,2`Q
M,#HQ-3HP.2`M,#`P,`I`0"`M,SDL,3$@*S,Y+#D@0$`*(",@;F5E9',@8VAA
M;F=3DE<R!I;B!T:&4@:6YS=3D&%L;"!T87)G970@86YD(%!,25-4"B`C34%+15]%
M3E8K/2`@("!,24Y+34]$13UD>6YA;6EC"B`*+2,@:68@=3DV4G<F4@=3D7-I;F<@
M82!G8V,@=3DVAI8V@@:7,@;F%M960@9V-C+"!W92!N965D('1O('-E=3D"!#0T]-
M/6=3DC8PHM(R!I;B!-04M%7T5.5B!S;R!T:&4@;6%K92!I;F9R87-T<G5C=3D'5R
M92!P:6-K<R!T:&4@<FEG:'0@;W!T:6]N<RX*+2YI9B`A96UP=3D'DH0T,Z32IG
M8V,J*0HM34%+15]%3E8K/2`@("`@0T-/33TB9V-C(@HM+F5N9&EF"BLC($UA
M<"!02T=3D34D-?0T]-4$E,15(@=3D&\@0T-/32!U<V5D(&)Y(&-D<G1O;VQS(&)U
M:6QD('-Y<W1E;2X**V-C;6%P+F=3DC8ST@("`@(&=3DC8PHK34%+15]&3$%'4RL]
M("`@0T-/33TD>V-C;6%P+B1[4$M'4U)#7T-/35!)3$52?3I58V-]"B`*(",@
M86QL;W<@=3D7,@=3D&\@;W9E<G)I9&4@=3D&AE(&1E9F%U;'0@+V5T8R]D969A=3D6QT
M+V-D<F5C;W)D(&)Y('!A=3D&-H:6YG"B`C('1H92!D;V-U;65N=3D&%T:6]N(&%P
M<')O<')I871E;'DN($%D9&ET:6]N86QL>2P@=3DV4@86QS;R!P<F]V:61E(&$*
!"G)O
`
end
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/sysutils/cdrtools/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile 12 Jul 2011 13:32:25 -0000 1.81
+++ Makefile 26 Aug 2011 10:15:09 -0000
@@ -39,11 +39,9 @@
# needs changes in the install target and PLIST
#MAKE_ENV+=3D LINKMODE=3Ddynamic
-# if we're using a gcc which is named gcc, we need to set CCOM=3Dgcc
-# in MAKE_ENV so the make infrastructure picks the right options.
-.if !empty(CC:M*gcc*)
-MAKE_ENV+=3D CCOM=3D"gcc"
-.endif
+# Map PKGSRC_COMPILER to CCOM used by cdrtools build system.
+ccmap.gcc=3D gcc
+MAKE_FLAGS+=3D CCOM=3D${ccmap.${PKGSRC_COMPILER}:Ucc}
# allow us to override the default /etc/default/cdrecord by patching
# the documentation appropriately. Additionally, we also provide a
Home |
Main Index |
Thread Index |
Old Index