From b762a6239e27f7562f2f9cd922037cdc2642a901 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Tue, 6 Mar 2007 00:54:39 +0000 Subject: [PATCH] - Fix problem when WITH_CODECONV option is enabled PR: ports/109932 Submitted by: Li-Wen Hsu Approved by: maintainer (Beech Rintoul) --- ftp/proftpd-devel/Makefile | 2 ++ ftp/proftpd/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index e0370436b3ce..5b9f90520b4e 100644 --- a/ftp/proftpd-devel/Makefile +++ b/ftp/proftpd-devel/Makefile @@ -198,7 +198,9 @@ MODULES:=${MODULES}:mod_quotatab_sql .endif .if defined(WITH_CODECONV) +USE_ICONV= YES MODULES:=${MODULES}:mod_codeconv +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include PROFTPD_LIBS+= -liconv -L${LOCALBASE}/lib EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mod-codeconv .endif diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index e0370436b3ce..5b9f90520b4e 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -198,7 +198,9 @@ MODULES:=${MODULES}:mod_quotatab_sql .endif .if defined(WITH_CODECONV) +USE_ICONV= YES MODULES:=${MODULES}:mod_codeconv +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include PROFTPD_LIBS+= -liconv -L${LOCALBASE}/lib EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mod-codeconv .endif