Lines 24-30
Link Here
|
24 |
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 |
24 |
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 |
25 |
|
25 |
|
26 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
27 |
CONFIGURE_ARGS= --with-gsm=${LOCALBASE} |
|
|
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
27 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323 |
28 |
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323 |
30 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
Lines 52-57
Link Here
|
52 |
OPTIONS_SINGLE= ODBC |
51 |
OPTIONS_SINGLE= ODBC |
53 |
OPTIONS_SINGLE_ODBC= IODBC UNIXODBC |
52 |
OPTIONS_SINGLE_ODBC= IODBC UNIXODBC |
54 |
|
53 |
|
|
|
54 |
.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "sparc64" |
55 |
OPTIONS_DEFINE+= DAHDI |
56 |
OPTIONS_DEFAULT+= DAHDI |
57 |
.endif |
58 |
|
59 |
DAHDI_DESC?= DAHDI support |
55 |
EXCHANGE_DESC?= Exchange calendar support |
60 |
EXCHANGE_DESC?= Exchange calendar support |
56 |
NEWG711_DESC?= New G711 Codec |
61 |
NEWG711_DESC?= New G711 Codec |
57 |
SRTP_DESC?= SecureRTP support |
62 |
SRTP_DESC?= SecureRTP support |
Lines 71-82
Link Here
|
71 |
VARDIR=${PREFIX}/var |
76 |
VARDIR=${PREFIX}/var |
72 |
.endif |
77 |
.endif |
73 |
|
78 |
|
74 |
.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "sparc64" |
|
|
75 |
OPTIONS_DEFINE+= DAHDI |
76 |
OPTIONS_DEFAULT+= DAHDI |
77 |
DAHDI_DESC?= DAHDI support |
78 |
.endif |
79 |
|
80 |
SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} |
79 |
SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} |
81 |
PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} |
80 |
PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} |
82 |
PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} |
81 |
PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} |
Lines 97-103
Link Here
|
97 |
CONFIGURE_ARGS+= --with-dahdi --with-openr2 |
96 |
CONFIGURE_ARGS+= --with-dahdi --with-openr2 |
98 |
BUILD_DEPENDS+= libpri>=1.4.10:${PORTSDIR}/misc/libpri \ |
97 |
BUILD_DEPENDS+= libpri>=1.4.10:${PORTSDIR}/misc/libpri \ |
99 |
${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi |
98 |
${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi |
100 |
LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri\ |
99 |
LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri \ |
101 |
openr2.4:${PORTSDIR}/misc/openr2 |
100 |
openr2.4:${PORTSDIR}/misc/openr2 |
102 |
.else |
101 |
.else |
103 |
PLIST_SUB+= WITH_DAHDI="@comment " |
102 |
PLIST_SUB+= WITH_DAHDI="@comment " |
Lines 149-158
Link Here
|
149 |
.if ${PORT_OPTIONS:MMYSQL} |
148 |
.if ${PORT_OPTIONS:MMYSQL} |
150 |
PLIST_SUB+= WITH_MYSQL="" |
149 |
PLIST_SUB+= WITH_MYSQL="" |
151 |
USE_MYSQL= yes |
150 |
USE_MYSQL= yes |
152 |
CONFIGURE_ARGS+= --with-mysql |
151 |
CONFIGURE_ARGS+= --with-mysqlclient |
153 |
.else |
152 |
.else |
154 |
PLIST_SUB+= WITH_MYSQL="@comment " |
153 |
PLIST_SUB+= WITH_MYSQL="@comment " |
155 |
CONFIGURE_ARGS+= --without-mysql |
154 |
CONFIGURE_ARGS+= --without-mysqlclient |
156 |
.endif |
155 |
.endif |
157 |
|
156 |
|
158 |
.if ${PORT_OPTIONS:MVORBIS} |
157 |
.if ${PORT_OPTIONS:MVORBIS} |