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

(-)Makefile (-4 / +4 lines)
Lines 24-39 Link Here
24
MAN8=			miredo-server.8 miredo.8 miredo-checkconf.8
24
MAN8=			miredo-server.8 miredo.8 miredo-checkconf.8
25
USE_RC_SUBR=		miredo_server miredo
25
USE_RC_SUBR=		miredo_server miredo
26
26
27
.if !defined(WITHOUT_NLS)
28
USE_GETTEXT=		yes
29
USE_ICONV=		yes
30
CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
27
CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
31
			CFLAGS="${PTHREAD_CFLAGS}" \
28
			CFLAGS="${PTHREAD_CFLAGS}" \
32
			LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
29
			LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
30
31
.if !defined(WITHOUT_NLS)
32
USE_GETTEXT=		yes
33
USE_ICONV=		yes
33
CONFIGURE_ARGS+=	--enable-nls
34
CONFIGURE_ARGS+=	--enable-nls
34
PLIST_SUB=		NLS=""
35
PLIST_SUB=		NLS=""
35
.else
36
.else
36
CONFIGURE_ENV+=		LDFLAGS="${PTHREAD_LIBS}"
37
CONFIGURE_ARGS+=	--disable-nls
37
CONFIGURE_ARGS+=	--disable-nls
38
PLIST_SUB=		NLS="@comment "
38
PLIST_SUB=		NLS="@comment "
39
.endif
39
.endif
(-)pkg-plist (-1 / +3 lines)
Lines 14-20 Link Here
14
include/libteredo/teredo-udp.h
14
include/libteredo/teredo-udp.h
15
include/libteredo/tunnel.h
15
include/libteredo/tunnel.h
16
include/libtun6/tun6.h
16
include/libtun6/tun6.h
17
@unexec [ -f %%TARGETDIR%%/etc/miredo/miredo.conf ] && cmp -s %%TARGETDIR%%/etc/miredo/miredo.conf %%DOCSDIR%%/examples/miredo.conf && rm %%TARGETDIR%%/miredo/etc/miredo.conf || exit 0
17
@unexec [ -f %D/etc/miredo/miredo.conf ] && cmp -s %D/etc/miredo/miredo.conf %D/%%DOCSDIR%%/examples/miredo.conf && rm %D/etc/miredo/miredo.conf || true
18
etc/miredo/client-hook
18
etc/miredo/client-hook
19
@exec [ -f %B/miredo/miredo.conf ] || cp %F %B/miredo/miredo.conf
19
@exec [ -f %B/miredo/miredo.conf ] || cp %F %B/miredo/miredo.conf
20
%%DOCSDIR%%/examples/miredo-server.conf
20
%%DOCSDIR%%/examples/miredo-server.conf
Lines 27-29 Link Here
27
@dirrmtry etc/miredo
27
@dirrmtry etc/miredo
28
@dirrm include/libtun6
28
@dirrm include/libtun6
29
@dirrm include/libteredo
29
@dirrm include/libteredo
30
@dirrmtry var/run
31
@dirrmtry var

Return to bug 134772