mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
698 B

  1. # brlcad installed below /usr creates shared file conflicts with other packages
  2. prefix="/opt/brlcad"
  3. set_confopt
  4. pkginstalled tcl && var_append extraconfopt " " "--disable-tcl"
  5. pkginstalled tk && var_append extraconfopt " " "--disable-tk"
  6. pkginstalled tcltk && var_append extraconfopt " " "--disable-tcl --disable-tk"
  7. pkginstalled itcl && var_append extraconfopt " " "--disable-itcl"
  8. # does not work?!
  9. pkginstalled sun-jdk15 && var_append extraconfopt " " "--with-jdk=/opt/jdk1.5.*"
  10. var_append extraconfopt "--enable-pro-engineer-plugin --enable-optimized"
  11. # the first run of configure is only necessary to create include/brlcad_config.h
  12. hook_add preconf 3 "./configure ; rm -f config.cache.*"