*** /usr/ports/ftp/proftpd/Makefile.org 2009-11-05 14:54:09.980687698 +0900
--- /usr/ports/ftp/proftpd/Makefile 2009-11-05 15:03:42.466351742 +0900
***************
*** 83,89 ****
TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
WRAP "Include mod_wrap2" on \
WRAP_FILE "Include mod_wrap2_file" off \
! WRAP_SQL "Include mod_wrap2_sql" off
# Set the MYSQL option based upon the setting from the
# slave port (ftp/proftpd-mysql).
.if defined(WITH_MYSQL)
--- 83,90 ----
TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
WRAP "Include mod_wrap2" on \
WRAP_FILE "Include mod_wrap2_file" off \
! WRAP_SQL "Include mod_wrap2_sql" off \
! CODECONV "Use charset conversion" off
# Set the MYSQL option based upon the setting from the
# slave port (ftp/proftpd-mysql).
.if defined(WITH_MYSQL)
***************
*** 276,281 ****
--- 277,291 ----
PLIST_SUB+= TDS="@comment "
.endif
+ .if defined(WITH_CODECONV)
+ USE_ICONV= YES
+ MODULES:=${MODULES}:mod_codeconv
+ INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
+ CONFIGURE_ARGS+= --disable-sendfile
+ PROFTPD_LIBS+= -liconv -L${LOCALBASE}/lib
+ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mod-codeconv
+ .endif
+
# mod_ifsession should be the last item in the modules list
.if !defined(WITHOUT_IFSESSION)
MODULES:=${MODULES}:mod_ifsession
Post Views: 155