--- genlop.old 2008-11-30 19:14:48.000000000 -0430 +++ genlop 2008-11-30 19:12:18.000000000 -0430 @@ -898,11 +898,12 @@ # easy work here: we simply print the CFLAGS file print " CFLAGS=\""; - open(pkg_cflag, "$db_pkg_dir/CFLAGS"); - while () - { - chomp(); - print(); + if(open(pkg_cflag, "$db_pkg_dir/CFLAGS")){ + while () + { + chomp(); + print(); + } } print "\"\n"; }