View | Details | Raw Unified | Return to bug 169244
Collapse All | Expand All

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

Return to bug 169244