aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 18:14:59 +0800
committermarino <marino@FreeBSD.org>2016-02-05 18:14:59 +0800
commitf4e619046fcc7a3554b1248aab402384ad718ce2 (patch)
tree3ea0622531bb581639658e3a8dd6a4c80f509c5e
parente79d44622efa47fe9a12b2b2661ca8afc84050d7 (diff)
downloadfreebsd-ports-gnome-f4e619046fcc7a3554b1248aab402384ad718ce2.tar.gz
freebsd-ports-gnome-f4e619046fcc7a3554b1248aab402384ad718ce2.tar.zst
freebsd-ports-gnome-f4e619046fcc7a3554b1248aab402384ad718ce2.zip
mail/up-imapproxy: USES+= ncurses, respect LDFLAGS
-rw-r--r--mail/up-imapproxy/Makefile2
-rw-r--r--mail/up-imapproxy/files/patch-Makefile.in11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/up-imapproxy/Makefile b/mail/up-imapproxy/Makefile
index 5e0c3931721f..82b51acf6cf8 100644
--- a/mail/up-imapproxy/Makefile
+++ b/mail/up-imapproxy/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOVECOT DOCS
DOVECOT_DESC= Use with dovecot2
-USES= autoreconf tar:bzip2 pathfix
+USES= autoreconf tar:bzip2 ncurses pathfix
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
diff --git a/mail/up-imapproxy/files/patch-Makefile.in b/mail/up-imapproxy/files/patch-Makefile.in
new file mode 100644
index 000000000000..70c96bd173a8
--- /dev/null
+++ b/mail/up-imapproxy/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2016-02-05 10:05:31 UTC
++++ Makefile.in
+@@ -70,7 +70,7 @@ $(XYD_BIN): $(XYD_OBJ)
+ $(CC) -o $@ $(XYD_OBJ) $(LDFLAGS) $(XYD_LIB)
+
+ $(TAT_BIN): $(TAT_OBJ)
+- $(CC) -o $@ $(TAT_OBJ) $(TAT_LIB)
++ $(CC) -o $@ $(TAT_OBJ) $(LDFLAGS) $(TAT_LIB)
+
+ clean:
+ rm -f ./src/core $(XYD_OBJ) $(TAT_OBJ) $(XYD_BIN) $(TAT_BIN)