how to bootstrap libtool?

Michael Scheidell michael.scheidell at secnap.com
Wed Feb 9 18:35:31 UTC 2011



On 2/9/11 1:32 PM, Chuck Swiger wrote:
> You should list libnet11 as both BUILD_DEPENDS and RUN_DEPENDS, likely...
>
I do.

didn't help (specifically referring to the new 2.9.0.3 security/snort port)

I THINK this cludge helped: but I am not happy with it.  not sure I 
understand portlint complaints about !=, or if there is/was a better way.

LIBNET_CONFIG?=         ${LOCALBASE}/bin/libnet11-config
.if exists($(LIBNET_CONFIG))
LIBNET_CFLAGS!= ${LIBNET_CONFIG} --cflags
LIBNET_LIBS!=   ${LIBNET_CONFIG} --libs
.else
LIBNET_CFLAGS=-I${LOCALBASE}/include/libnet11
LIBNET_LIBS=-L${LOCALBASE}/lib/libnet11 -lnet
.endif
LIBNET_INCDIR=  ${LIBNET_CFLAGS:M-I*:S/-I//}
LIBNET_LIBDIR=  ${LIBNET_LIBS:M-L*:S/-L//}


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
 >*| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best in Email Security,2010: Network Products Guide
    * King of Spam Filters, SC Magazine 2008


______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________  


More information about the freebsd-ports mailing list