summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2009-01-08 12:42:03 +0000
committerStefan Walter <stefan@FreeBSD.org>2009-01-08 12:42:03 +0000
commit88b884583e8f57a5fdc53950b2f10357a1f3bc39 (patch)
tree4768c2b132c3860c3656a1452f32efabd23eee10 /editors
parent- Fix link with dbus on FreeBSD 6.x (diff)
Add explicit dependency on gettext.
PR: 129864 Submitted by: keramida (maintainer)
Notes
Notes: svn path=/head/; revision=225445
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index 8a06cf58859c..323fe2af4104 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= ${EMACS_VER}.${SNAPSHOT}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= keramida
@@ -57,6 +57,11 @@ CONFIGURE_ARGS+= --enable-font-backend
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 \
m17n.3:${PORTSDIR}/devel/m17n-lib
# also libotf, which is pulled in by m17n
+
+# m17n depends on libintl.so too
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+USE_GETTEXT= yes
.endif
.if defined(WITHOUT_XIM)