summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-03-06 00:54:39 +0000
committerclsung <clsung@FreeBSD.org>2007-03-06 00:54:39 +0000
commit6a2dcade504be314da202e6df0b4d2c1ec261791 (patch)
treedd1661c572ecbf84aeddf28a24063549645976c9 /ftp
parentce0dda01871c60e0bcefde4cd45a1ca55dcdafb9 (diff)
downloadFreeBSD-ports-6a2dcade504be314da202e6df0b4d2c1ec261791.zip
FreeBSD-ports-6a2dcade504be314da202e6df0b4d2c1ec261791.tar.gz
- Fix problem when WITH_CODECONV option is enabled
PR: ports/109932 Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org> Approved by: maintainer (Beech Rintoul)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile2
-rw-r--r--ftp/proftpd/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index e037043..5b9f905 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 e037043..5b9f905 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
OpenPOWER on IntegriCloud