You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Set variables if they are not already set
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@11 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -27,8 +27,12 @@ namespace eval darwinports {
|
||||
|
||||
set portpath /usr/darwinports
|
||||
darwinports::readconf
|
||||
set distpath $portpath/distfiles
|
||||
set libpath ${portpath}/Tcl
|
||||
if ![info exists distpath] {
|
||||
set distpath $portpath/distfiles
|
||||
}
|
||||
if ![info exists libpath] {
|
||||
set libpath $portpath/Tcl
|
||||
}
|
||||
|
||||
if [file isdirectory $libpath] {
|
||||
if [catch {pkg_mkIndex $libpath *.tcl *.so *.dylib */*.tcl */*.so */*.dylib} result] {
|
||||
|
||||
Reference in New Issue
Block a user