aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2012-11-06 06:30:28 +0800
committeradamw <adamw@FreeBSD.org>2012-11-06 06:30:28 +0800
commitaaff1562ca1a28e2bda7ec224784565f8339b140 (patch)
tree4ed887f81547759b134753f1ed7011bea01fbb94
parent51b647cfa179db3891a704dc0cc9d57ffd0f6041 (diff)
downloadfreebsd-ports-gnome-aaff1562ca1a28e2bda7ec224784565f8339b140.tar.gz
freebsd-ports-gnome-aaff1562ca1a28e2bda7ec224784565f8339b140.tar.zst
freebsd-ports-gnome-aaff1562ca1a28e2bda7ec224784565f8339b140.zip
Force NLS support with a very broken autotools configure. This fixes
package building. PORTREVISION bump for plist change if NLS enabled. Feature safe: yes
-rw-r--r--security/authforce/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/authforce/Makefile b/security/authforce/Makefile
index 9126df1be184..f3b80eb62495 100644
--- a/security/authforce/Makefile
+++ b/security/authforce/Makefile
@@ -3,6 +3,7 @@
PORTNAME= authforce
PORTVERSION= 0.9.9
+PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://cloud.github.com/downloads/zlandau/authforce/
@@ -44,6 +45,7 @@ CONFIGURE_ARGS+= --without-curl
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_FILES+= share/locale/nl/LC_MESSAGES/authforce.mo
+CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib
.else
CONFIGURE_ARGS+= --disable-nls
.endif