When building SSLeay with USA_RESIDENT set to YES, the patch for Makefile.ssl (files/Makefile.patch) will not applied, instead patch asks for the file to patch instead. Also, BUILD_DEPENDS should be changed to LIB_DEPENDS in the ports Makefile. Otherwise, when port will be unble to find the rsaref\\.2\\. library, and will keep trying to rebuild the rsaref port. Fix: Edit Makefile, and change BUILD_DEPENDS to LIB_DEPENDS Edit files/Makefile.patch and change both work/SSLeay-0.8.1 to work/SSLeay-0.8.1b. How-To-Repeat: Set USA_RESIDENT to YES, make build
State Changed From-To: open->closed Mark Murray fixed this not too long ago.
From: Steve Price <steve@FreeBSD.ORG> >Synopsis: SSLeay unable to locate file to patch > >State-Changed-From-To: open->closed >State-Changed-By: steve >State-Changed-When: Fri Jul 10 17:17:47 PDT 1998 >State-Changed-Why: >Mark Murray fixed this not too long ago. > I just updated my ports collection and checked the SSLeay port. This PR is partially closed, ./files/Makefile.patch is fixed, but the ./Makefile is still using BUILD_DEPENDS instead of LIB_DEPENDS. When it tries to find the rsaref library the Makefile proceed to re-build it. Try: edit /etc/rc.conf and set USA_RESIDENT to YES cd /usr/ports/security/rsaref make install make clean cd ../SSLeay make build It will fail to find the rsaref library and will proceed to rebuild it. When the rsaref hits the install stage it will fail because the port is already installed. Scot