Make it package correctly on clang-only boxes.

PR:			180220
Submitted by:	Dave Hayes <dave@jetcafe.org>
This commit is contained in:
Anton Berezin 2013-07-10 13:42:41 +00:00
parent 0c40b5f4a8
commit ff1e1381cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322696
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= NetAddr-IP PORTNAME= NetAddr-IP
PORTVERSION= 4.069 PORTVERSION= 4.069
PORTREVISION= 1
CATEGORIES= net-mgmt perl5 CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN MASTER_SITES= CPAN
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-

View file

@ -0,0 +1,11 @@
--- ./Lite/Util/Makefile.PL.orig 2013-07-10 15:38:50.000000000 +0200
+++ ./Lite/Util/Makefile.PL 2013-07-10 15:38:55.000000000 +0200
@@ -205,7 +205,7 @@ sub test_cc {
return;
}
- my $CC = $ENV{CC} || $Config{ccname};
+ my $CC = $ENV{CC} || $Config{cc};
my $command = qq|$CC compile.c -o compile.output|;
print F <<'EOF';