File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Utimer < Formula
2929
3030 depends_on "gettext" => :build
3131 depends_on "intltool" => :build
32- depends_on "pkg-config " => :build
32+ depends_on "pkgconf " => :build
3333 depends_on "glib"
3434
3535 uses_from_macos "perl" => :build
@@ -43,11 +43,8 @@ class Utimer < Formula
4343 end
4444
4545 def install
46- if OS . linux?
47- ENV . prepend_path "PERL5LIB" , Formula [ "perl-xml-parser" ] . libexec /"lib/perl5"
48- # Work around /usr/bin/ld: timer.o:(.bss+0x0): multiple definition of `ut_config'
49- ENV . append_to_cflags "-fcommon"
50- end
46+ # Work around /usr/bin/ld: timer.o:(.bss+0x0): multiple definition of `ut_config'
47+ ENV . append_to_cflags "-fcommon" if OS . linux?
5148 # Fix compile with newer Clang. Project is no longer maintained so cannot be fixed upstream.
5249 ENV . append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools . clang_build_version >= 1403
5350
You can’t perform that action at this time.
0 commit comments