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

(-)b/net/pacemaker1/Makefile (+1 lines)
Lines 1-6 Link Here
1
# Created by: David Shane Holden <dpejesh@yahoo.com>
1
# Created by: David Shane Holden <dpejesh@yahoo.com>
2
2
3
PORTVERSION=		1.1.24
3
PORTVERSION=		1.1.24
4
PORTREVISION=		1
4
PKGNAMESUFFIX=		1
5
PKGNAMESUFFIX=		1
5
6
6
.include "${.CURDIR}/Makefile.common"
7
.include "${.CURDIR}/Makefile.common"
(-)b/net/pacemaker1/Makefile.common (-5 / +5 lines)
Lines 56-70 sh_OLD_CMD= ${SH} Link Here
56
sh_CMD=			${LOCALBASE}/bin/bash
56
sh_CMD=			${LOCALBASE}/bin/bash
57
SHEBANG_FILES=		extra/resources/*
57
SHEBANG_FILES=		extra/resources/*
58
58
59
REPLACE_ARGS_OCF=	-e 's,/usr/lib/ocf,${PREFIX}/lib/ocf,'
60
61
OPTIONS_DEFINE=		DBUS DOCS MANPAGES SNMP
59
OPTIONS_DEFINE=		DBUS DOCS MANPAGES SNMP
62
63
OPTIONS_DEFAULT=	MANPAGES
60
OPTIONS_DEFAULT=	MANPAGES
64
OPTIONS_SUB=		yes
61
OPTIONS_SUB=		yes
65
62
66
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
63
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
67
DBUS_VARS_OFF=		REPLACE_ARGS+="-e 's/HAVE_dbus=1/HAVE_dbus=0/'"
64
DBUS_VARS_OFF=		REPLACE_ARGS_DBUS="-e 's/HAVE_dbus=1/HAVE_dbus=0/'"
68
65
69
DOCS_BUILD_DEPENDS=	asciidoc:textproc/asciidoc
66
DOCS_BUILD_DEPENDS=	asciidoc:textproc/asciidoc
70
67
Lines 76-81 SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp Link Here
76
SNMP_CONFIGURE_WITH=	snmp
73
SNMP_CONFIGURE_WITH=	snmp
77
SNMP_USES=		ssl
74
SNMP_USES=		ssl
78
75
76
REPLACE_CMD_ARGS=	-e 's,/usr/lib/ocf,${PREFIX}/lib/ocf,' \
77
			${REPLACE_ARGS_DBUS}
78
79
# python default version must be set to 2.7 to generate a
79
# python default version must be set to 2.7 to generate a
80
# correct pkg-plist
80
# correct pkg-plist
81
maintainer-plist: stage
81
maintainer-plist: stage
Lines 89-92 maintainer-plist: stage Link Here
89
	> pkg-plist
89
	> pkg-plist
90
90
91
post-patch-common:
91
post-patch-common:
92
	@${REINPLACE_CMD} ${REPLACE_ARGS_OCF} ${WRKSRC}/configure.ac
92
	@${REINPLACE_CMD} ${REPLACE_CMD_ARGS} ${WRKSRC}/configure.ac

Return to bug 254653