aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd/Makefile
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-03-02 20:12:49 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-03-02 20:12:49 +0000
commit9d08152322b57b46c155ae76ccbbef4d2cbb377c (patch)
tree69ce0ff83deeba8e2a49bb8f8382c0530339d99e /ftp/proftpd/Makefile
parente5266e2a29c56773991388ab58acf375a64de7d0 (diff)
downloadports-9d08152322b57b46c155ae76ccbbef4d2cbb377c.tar.gz
ports-9d08152322b57b46c155ae76ccbbef4d2cbb377c.zip
Notes
Diffstat (limited to 'ftp/proftpd/Makefile')
-rw-r--r--ftp/proftpd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 18749786619f..e0370436b3ce 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -133,7 +133,6 @@ LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-nls
USE_GETTEXT=yes
PROFTPD_LIBS+= -lintl -L${LOCALBASE}/lib
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nls-Makefile.in
.endif
.if defined (WITH_CYRFIX)
@@ -226,6 +225,11 @@ CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
MODULES!=${ECHO} ${MODULES} | ${SED} -e 's,^:,,' -e 's,:$$,,'
+post-patch:
+.if defined(WITH_NLS)
+ ${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in
+.endif
+
pre-configure:
@${ECHO_MSG} "==> Configuring with ${MODULES}"