Lines 38-55
Link Here
|
38 |
LICENSE_FILE_MPL= ${WRKSRC}/LICENSE-GPL-2.0 |
38 |
LICENSE_FILE_MPL= ${WRKSRC}/LICENSE-GPL-2.0 |
39 |
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-MPL-RabbitMQ |
39 |
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-MPL-RabbitMQ |
40 |
|
40 |
|
41 |
OPTIONS= 64BIT "Produce 64-bit library" Off \ |
41 |
OPTIONS_DEFINE= 64BIT POPT |
42 |
POPT "Popt support in tools" Off |
42 |
64BIT_DESC= Produce 64-bit library |
|
|
43 |
POPT_DESC= Popt support in tools |
43 |
|
44 |
|
44 |
.include <bsd.port.options.mk> |
45 |
.include <bsd.port.options.mk> |
45 |
|
46 |
|
46 |
.if defined(WITH_64BIT) |
47 |
.if ${PORT_OPTIONS:M64BIT} |
47 |
ONLY_FOR_ARCHS= amd64 sparc64 powerpc |
48 |
ONLY_FOR_ARCHS= amd64 sparc64 powerpc |
48 |
ONLY_FOR_ARCHS_REASON= WITH_64BIT is set |
49 |
ONLY_FOR_ARCHS_REASON= 64BIT option is set |
49 |
CONFIGURE_ARGS+= --enable-64-bit |
50 |
CONFIGURE_ARGS+= --enable-64-bit |
50 |
.endif |
51 |
.endif |
51 |
|
52 |
|
52 |
.if defined(WITH_POPT) |
53 |
.if ${PORT_OPTIONS:MPOPT} |
53 |
LIB_DEPENDS+= popt.0:${PORTSDIR}/devel/popt |
54 |
LIB_DEPENDS+= popt.0:${PORTSDIR}/devel/popt |
54 |
CFLAGS+= -I${LOCALBASE}/include |
55 |
CFLAGS+= -I${LOCALBASE}/include |
55 |
LDFLAGS+= -L${LOCALBASE}/lib |
56 |
LDFLAGS+= -L${LOCALBASE}/lib |