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

(-)gnokii/Makefile (+16 lines)
Lines 46-55 Link Here
46
WITH_ICAL=	yes
46
WITH_ICAL=	yes
47
.endif
47
.endif
48
48
49
.if exists(${LOCALBASE}/lib/libusb.so)
50
WITH_LIBUSB=	yes
51
.endif
52
49
.if defined(WITH_ICAL)
53
.if defined(WITH_ICAL)
50
LIB_DEPENDS+=	ical.0:${PORTSDIR}/devel/libical
54
LIB_DEPENDS+=	ical.0:${PORTSDIR}/devel/libical
51
.endif
55
.endif
52
56
57
.if defined(WITH_LIBUSB)
58
LIB_DEPENDS+=	usb:${PORTSDIR}/devel/libusb
59
60
CONFIGURE_ARGS+=	--enable-libusb
61
.else
62
CONFIGURE_ARGS+=	--disable-libusb
63
.endif
64
53
# If smsd is enabled check if MySQL or PostgreSQL are installed and
65
# If smsd is enabled check if MySQL or PostgreSQL are installed and
54
# build the modules, no switches to make this port build those, if
66
# build the modules, no switches to make this port build those, if
55
# you want them, just install them before this port. The port will
67
# you want them, just install them before this port. The port will
Lines 133-138 Link Here
133
.if defined(SMSD_WITH_GLIB1)
145
.if defined(SMSD_WITH_GLIB1)
134
	@cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/smsd-Makefile-WITH_GLIB.diff
146
	@cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/smsd-Makefile-WITH_GLIB.diff
135
.endif
147
.endif
148
# fix test conditions on configure
149
	@${REINPLACE_CMD} -E \
150
		-e 's|([[:space:]]+test[[:space:]]+.+)==([[:space:]]+"yes")|\1=\2|' \
151
		${WRKSRC}/${CONFIGURE_SCRIPT}
136
152
137
post-build:
153
post-build:
138
.if defined(WITH_SMSD)
154
.if defined(WITH_SMSD)

Return to bug 118070