Skip to content

Commit ac6eea2

Browse files
authored
Merge pull request #987 from guitorri/fix-macports
autoconf: add QTDIR path to use with MacPorts
2 parents 830c996 + 4389087 commit ac6eea2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qucs/configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,11 @@ AS_IF([test $QT_MAJOR_VERSION -ge 5],
377377
dnl Check for Qt in:
378378
dnl * Digia default path: /Library/Frameworks
379379
dnl * User provided path: QTDIR
380-
dnl * Homebrew defaul: /usr/local/lib or ${prefix}/Library/Frameworks
381-
dnl * MacpPorts default /opt/local/lib or ${prefix}/Library/Frameworks
380+
dnl * Homebrew default: /usr/local/lib or ${prefix}/Library/Frameworks
381+
dnl * MacPorts default: /opt/local/lib or ${prefix}/Library/Frameworks
382382
with_qt=no
383383
AC_MSG_CHECKING([for Qt OS X framework])
384-
paths="$QTDIR/lib ${prefix}/Library/Frameworks /Library/Frameworks /opt/local/lib /usr/local/lib"
384+
paths="$QTDIR/lib $QTDIR/Library/Frameworks ${prefix}/Library/Frameworks /Library/Frameworks /opt/local/lib /usr/local/lib"
385385
for path in $paths; do
386386
if test -f "$path/QtGui.framework/Headers/QApplication"; then
387387
with_qt=yes

0 commit comments

Comments
 (0)