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

(-)comms/gnokii/Makefile (-4 / +16 lines)
Lines 42-48 Link Here
42
42
43
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
44
44
45
.if exists(${LOCALBASE}/lib/libical.so.0)
45
.if exists(${LOCALBASE}/lib/libical.so)
46
WITH_ICAL=	yes
46
WITH_ICAL=	yes
47
.endif
47
.endif
48
48
Lines 50-57 Link Here
50
WITH_USB=	yes
50
WITH_USB=	yes
51
.endif
51
.endif
52
52
53
.if exists(${LOCALBASE}/lib/libpcsclite.so) && !defined(WITHOUT_PCSC)
54
WITH_PCSC=	yes
55
.endif
56
53
.if defined(WITH_ICAL)
57
.if defined(WITH_ICAL)
54
LIB_DEPENDS+=	ical.0:${PORTSDIR}/devel/libical
58
LIB_DEPENDS+=	ical.27:${PORTSDIR}/devel/libical
55
.endif
59
.endif
56
60
57
.if defined(WITH_USB)
61
.if defined(WITH_USB)
Lines 62-67 Link Here
62
CONFIGURE_ARGS+=	--disable-libusb
66
CONFIGURE_ARGS+=	--disable-libusb
63
.endif
67
.endif
64
68
69
.if defined(WITH_PCSC)
70
LIB_DEPENDS+=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
71
72
CONFIGURE_ARGS+=	--enable-libpcsclite
73
.else
74
CONFIGURE_ARGS+=	--disable-libpcsclite
75
.endif
76
65
# If smsd is enabled check if MySQL or PostgreSQL are installed and
77
# If smsd is enabled check if MySQL or PostgreSQL are installed and
66
# build the modules, no switches to make this port build those, if
78
# build the modules, no switches to make this port build those, if
67
# you want them, just install them before this port. The port will
79
# you want them, just install them before this port. The port will
Lines 73-86 Link Here
73
.else
85
.else
74
PLIST_SUB+=	SMSD=''
86
PLIST_SUB+=	SMSD=''
75
MAN8+=		smsd.8
87
MAN8+=		smsd.8
76
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so)
88
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so) && !defined(WITHOUT_MYSQL)
77
USE_MYSQL=	yes
89
USE_MYSQL=	yes
78
PLIST_SUB+=	MSM=''
90
PLIST_SUB+=	MSM=''
79
WITH_MYSQL=	yes
91
WITH_MYSQL=	yes
80
.else
92
.else
81
PLIST_SUB+=	MSM='@comment '
93
PLIST_SUB+=	MSM='@comment '
82
.endif
94
.endif
83
.if exists(${LOCALBASE}/bin/psql)
95
.if exists(${LOCALBASE}/bin/psql) && !defined(WITHOUT_PGSQL)
84
USE_PGSQL=	yes
96
USE_PGSQL=	yes
85
PLIST_SUB+=	PGM=''
97
PLIST_SUB+=	PGM=''
86
WITH_PGSQL=	yes
98
WITH_PGSQL=	yes

Return to bug 121687