aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-03-06 08:54:39 +0800
committerclsung <clsung@FreeBSD.org>2007-03-06 08:54:39 +0800
commit6a2dcade504be314da202e6df0b4d2c1ec261791 (patch)
treedd1661c572ecbf84aeddf28a24063549645976c9
parentce0dda01871c60e0bcefde4cd45a1ca55dcdafb9 (diff)
downloadfreebsd-ports-gnome-6a2dcade504be314da202e6df0b4d2c1ec261791.tar.gz
freebsd-ports-gnome-6a2dcade504be314da202e6df0b4d2c1ec261791.tar.zst
freebsd-ports-gnome-6a2dcade504be314da202e6df0b4d2c1ec261791.zip
- 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)
-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 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