Changeset 53637


Ignore:
Timestamp:
Jul 10, 2009, 8:16:39 PM (10 years ago)
Author:
blb@…
Message:

databases/mongodb - local MacPorts prefix crept into patch, so fix (thanks Ryan)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mongodb/files/patch-SConstruct.diff

    r53622 r53637  
    2222-        env.Append( CPPPATH=[ "/sw/include" , "/opt/local/include"] )
    2323-        env.Append( LIBPATH=["/sw/lib/", "/opt/local/lib"] )
    24 +    env.Append( CPPPATH=["/mp/include"] )
    25 +    env.Append( LIBPATH=["/mp/lib/"] )
     24+    env.Append( CPPPATH=["@@PREFIX@@/include"] )
     25+    env.Append( LIBPATH=["@@PREFIX@@/lib/"] )
    2626+    env["CC"] = os.environ["CC"]
    2727+    env["CPP"] = os.environ["CPP"]
     
    3939-            else:
    4040-                myenv.Append( LINKFLAGS=" /usr/lib/libreadline.dylib " )
    41 +            myenv.Append( LINKFLAGS=" /mp/lib/libreadline.dylib " )
     41+            myenv.Append( LINKFLAGS=" @@PREFIX@@/lib/libreadline.dylib " )
    4242         elif myCheckLib( "readline" , release and nix , staticOnly=release ):
    4343             myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
Note: See TracChangeset for help on using the changeset viewer.