Solved. This can be accomplished by setting environment variables with the make command, no configure script needed.

Hat tip to Nick Mathewson from the Tor-relays mailing list for cluing me in to this method.

$ sudo CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib make
$ sudo make install
$ ldd /usr/sbin/smtpd
/usr/sbin/smtpd:
        Start            End              Type Open Ref GrpRef Name
00001eb9f3d00000 00001eb9f41a9000 exe 1 0 0 /usr/sbin/smtpd 00001ebc57315000 00001ebc57721000 rlib 0 1 0 /usr/lib/libevent.so.4.1 00001ebc36f81000 00001ebc3738d000 rlib 0 1 0 /usr/lib/libutil.so.12.1 00001ebc635bf000 00001ebc63a1d000 rlib 0 1 0 /usr/local/lib/libssl.so.32.0 00001ebc30b6b000 00001ebc3113b000 rlib 0 2 0 /usr/local/lib/libcrypto.so.32.0 00001ebc55e4c000 00001ebc56274000 rlib 0 1 0 /usr/lib/libm.so.9.0 00001ebca923e000 00001ebca9653000 rlib 0 1 0 /usr/lib/libz.so.5.0 00001ebc2a309000 00001ebc2a7f2000 rlib 0 1 0 /usr/lib/libc.so.77.0 00001ebbfad00000 00001ebbfad00000 rtld 0 1 0 /usr/libexec/ld.so

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to