2010-06-04 18:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
+ Added pkg-config and *-config support for MacPorts.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-06-04 18:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
+ Added pkg-config and *-config support for MacPorts.
|
||||
|
||||
2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/*
|
||||
* Deleted 'www.' from harbour-project.org website name.
|
||||
|
||||
@@ -6124,6 +6124,19 @@ STATIC PROCEDURE dep_try_pkg_detection( hbmk, dep )
|
||||
IF Empty( cStdOut )
|
||||
hb_processRun( cName + "-config --version --libs --cflags",, @cStdOut, @cErrOut )
|
||||
ENDIF
|
||||
#if defined( __PLATFORM__DARWIN )
|
||||
/* DarwinPorts */
|
||||
IF Empty( cStdOut )
|
||||
IF hb_FileExists( "/opt/local/bin/pkg-config" )
|
||||
hb_processRun( "/opt/local/bin/pkg-config --modversion --libs --cflags " + cName,, @cStdOut, @cErrOut )
|
||||
ENDIF
|
||||
ENDIF
|
||||
IF Empty( cStdOut )
|
||||
IF hb_FileExists( "/opt/local/bin/" + cName + "-config" )
|
||||
hb_processRun( "/opt/local/bin/" + cName + "-config --version --libs --cflags",, @cStdOut, @cErrOut )
|
||||
ENDIF
|
||||
ENDIF
|
||||
#endif
|
||||
|
||||
IF ! Empty( cStdOut )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user