Lines 18-33
Link Here
|
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
|
19 |
|
20 |
WANT_GNOME= yes |
20 |
WANT_GNOME= yes |
|
|
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
21 |
|
22 |
|
22 |
MAN1= irssi.1 |
23 |
MAN1= irssi.1 |
23 |
|
24 |
|
24 |
.include <bsd.port.pre.mk> |
25 |
# Set option defaults. |
|
|
26 |
|
27 |
.if ! defined(WITH_SSL) |
28 |
WITH_SSL= yes |
29 |
.endif |
25 |
|
30 |
|
26 |
.if ${OSVERSION} >= 502000 |
31 |
.if ${WITH_SSL:L} == "no" |
27 |
BROKEN= "Does not compile" |
32 |
CONFIGURE_ARGS+= --disable-ssl |
|
|
33 |
.else |
34 |
USE_OPENSSL= yes |
28 |
.endif |
35 |
.endif |
29 |
|
36 |
|
30 |
# Set option defaults. |
37 |
.include <bsd.port.pre.mk> |
31 |
|
38 |
|
32 |
.if ! defined(WITH_GLIB) |
39 |
.if ! defined(WITH_GLIB) |
33 |
.if exists(${LOCALBASE}/include/glib-2.0/glib.h) |
40 |
.if exists(${LOCALBASE}/include/glib-2.0/glib.h) |
Lines 53-62
Link Here
|
53 |
WITH_IPV6= yes |
60 |
WITH_IPV6= yes |
54 |
.endif |
61 |
.endif |
55 |
|
62 |
|
56 |
.if ! defined(WITH_SSL) |
|
|
57 |
WITH_SSL= yes |
58 |
.endif |
59 |
|
60 |
.if ! defined(WITH_BOEHM_GC) |
63 |
.if ! defined(WITH_BOEHM_GC) |
61 |
WITH_BOEHM_GC= no |
64 |
WITH_BOEHM_GC= no |
62 |
.endif |
65 |
.endif |
Lines 105-116
Link Here
|
105 |
.endif |
108 |
.endif |
106 |
.endif |
109 |
.endif |
107 |
|
110 |
|
108 |
.if ${WITH_SSL:L} == "yes" |
|
|
109 |
USE_OPENSSL= yes |
110 |
.else |
111 |
CONFIGURE_ARGS+= --disable-ssl |
112 |
.endif |
113 |
|
114 |
.if ${WITH_BOEHM_GC:L} == "yes" |
111 |
.if ${WITH_BOEHM_GC:L} == "yes" |
115 |
LIB_DEPENDS+= gc.1:${PORTSDIR}/devel/boehm-gc |
112 |
LIB_DEPENDS+= gc.1:${PORTSDIR}/devel/boehm-gc |
116 |
CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include |
113 |
CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include |
Lines 136-142
Link Here
|
136 |
@${ECHO} "" |
133 |
@${ECHO} "" |
137 |
|
134 |
|
138 |
pre-configure: |
135 |
pre-configure: |
139 |
@cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample |
136 |
@cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample || ${TRUE} |
140 |
|
137 |
|
141 |
post-install: |
138 |
post-install: |
142 |
@if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \ |
139 |
@if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \ |