Here's a patch file which implements my idea, should anyone want to test it
out:

--- PkgVersion.pm       Sat Jan 31 17:29:35 2004
+++ PkgVersion.pm.patched       Sat Jan 31 16:10:07 2004
@@ -2200,8 +2200,9 @@
        my $self = shift;
        my ($varname, $s, $expand);
        my %defaults = (
-               "CPPFLAGS"                 => "-I\%p/include",
-               "LDFLAGS"                  => "-L\%p/lib",
+               "CPPFLAGS"                 => "-DLOCAL_INCLUDE_DIR=\%p/include",
+               "LIBRARY_PATH"             => "\%p/lib",
+                "DYLD_LIBRARY_PATH"        => "\%p/lib",
                "LD_PREBIND"               => 1,
                "LD_PREBIND_ALLOW_OVERLAP" => 1,
                "LD_SEG_ADDR_TABLE"        => 
"$basepath/var/lib/fink/prebound/seg_addr_table",


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to