Hello, 

I would like to build petsc using macports (because it is easy), and I would 
need the shared libraries option to be on.
I created a variant on the petsc port, adding:

variant shared description {build with shared libraries} {
    configure.args-delete   --with-shared-libraries=0
    configure.args-delete   --with-pic=fPIC
    configure.args-append   --with-shared-libraries=1
}

I have to delete --with-pic=fPIC, otherwise it does not run. Then, it 
configures and builds fine, but when macports checks on the created files, it 
complains, and restarts the whole process (and does it over and over again):

It says:

--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  Found 3 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order

I don't know how to modify what macport is checking (and probably, I should 
not). Can someone tell me what I am doing wrong?

Thank you very much
Romain

Romain Jolivet
Highland Park, Los Angeles, CA
[email protected]
+1 (626) 560 6356

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to