Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= lmtpd |
8 |
PORTNAME= lmtpd |
9 |
PORTVERSION= 0.9.16 |
9 |
PORTVERSION= 0.9.16 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= pll |
13 |
MASTER_SITE_SUBDIR= pll |
Lines 19-47
Link Here
|
19 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libhome.a:${PORTSDIR}/misc/libhome |
19 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libhome.a:${PORTSDIR}/misc/libhome |
20 |
|
20 |
|
21 |
OPTIONS= PCRE "Support for PCRE" on |
21 |
OPTIONS= PCRE "Support for PCRE" on |
22 |
|
|
|
23 |
.include <bsd.port.pre.mk> |
24 |
|
25 |
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so) |
26 |
WITH_MYSQL= yes |
27 |
OPTIONS+= MYSQL "Support for MySQL Queries and Logs" on |
22 |
OPTIONS+= MYSQL "Support for MySQL Queries and Logs" on |
28 |
.else |
|
|
29 |
OPTIONS+= MYSQL "Support for MySQL Queries and Logs" off |
30 |
.endif |
31 |
|
32 |
.if exists(${LOCALBASE}/lib/libdb3.so) |
33 |
WITH_DB3= yes |
34 |
OPTIONS+= DB3 "Support for DB3" on |
23 |
OPTIONS+= DB3 "Support for DB3" on |
35 |
.else |
|
|
36 |
OPTIONS+= DB3 "Support for DB3" off |
37 |
.endif |
38 |
|
39 |
.if exists(${LOCALBASE}/lib/libdb4.so) |
40 |
WITH_DB4= yes |
41 |
OPTIONS+= DB4 "Support for DB4" on |
42 |
.else |
43 |
OPTIONS+= DB4 "Support for DB4" off |
24 |
OPTIONS+= DB4 "Support for DB4" off |
44 |
.endif |
25 |
|
|
|
26 |
.include <bsd.port.pre.mk> |
45 |
|
27 |
|
46 |
.if defined(WITH_DB3) && defined(WITH_DB4) |
28 |
.if defined(WITH_DB3) && defined(WITH_DB4) |
47 |
.error You cannot use DB3 and DB4 in the same time. |
29 |
.error You cannot use DB3 and DB4 in the same time. |