Skip to content

Commit

Permalink
add additional args to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
niaow committed Feb 18, 2018
1 parent d633825 commit a9cf228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgen/pkgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func tmpl(str []string, pg *rawPackageGenerator, hostarch string, buildarch stri
return fmt.Sprintf("mkdir -p out/%s-man/usr/share\nmv out/%s/usr/share/man out/%s-man/usr/share/man", pkg, pkg, pkg)
},
"configure": func(dir string, args ...string) string {
return fmt.Sprintf("(cd %s && ./configure %s %s)", dir, strings.Join(args, " "), ft["confflags"].(func() string)())
return fmt.Sprintf("(cd %s && ./configure %s --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var %s)", dir, ft["confflags"].(func() string)(), strings.Join(args, " "))
},
"confarch": func() string {
if buildarch == "x86" {
Expand Down

0 comments on commit a9cf228

Please sign in to comment.