#1768 closed defect (fixed)
gnet2 portfile configure improperly sets LIBS= -pthread
Reported by: | izmir@… | Owned by: | mij@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
The .configure settings result in the Makefile(s) having:
LIBS = -lresolv -pthread
when its should be "-lpthread". This results in "gcc: unrecognized option `-pthread'" during compile. To fix it, I modified the devel/gnet2/portfile:
${workpath}/${distname}/src/Makefile
reinplace "spthreadlpthread|g" \ ${workpath}/${distname}/examples/Makefile
reinplace "spthreadlpthread|g" \ ${workpath}/${distname}/tests/Makefile
}
Granted, I haven't tested gnet2 out yet, but it did compile without pthread errors, and the Makefiles were correct.
This is on Mac OS X 10.3.3 with around an Apr 10,2004 darwinports cvs nightly build.
Change History (2)
comment:1 Changed 20 years ago by waqar@…
Owner: | changed from darwinports-bugs@… to mij@… |
---|
comment:2 Changed 20 years ago by mij@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was added to the Portfile back in June, but I obviously forgot to close it :-) Thanks for the submission.