aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgpg-error
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-10-12 15:15:59 +0800
committersergei <sergei@FreeBSD.org>2004-10-12 15:15:59 +0800
commit198b701a3637b00df546e6949377436852f88823 (patch)
tree80f58bc9dd00434d6f63338f7bfa72364463961e /security/libgpg-error
parent61f02f60b43c1c0f3546ddfd1fd71642f7e69f3b (diff)
downloadfreebsd-ports-gnome-198b701a3637b00df546e6949377436852f88823.tar.gz
freebsd-ports-gnome-198b701a3637b00df546e6949377436852f88823.tar.zst
freebsd-ports-gnome-198b701a3637b00df546e6949377436852f88823.zip
- Explicitly specify prefix for iconv and gettext libraries
to link properly in case PREFIX != LOCALBASE - Add optional missing files (*.mo) - Add USE_ICONV - Bump PORTREVISION PR: ports/72274 (partly) Submitted by: leeym
Diffstat (limited to 'security/libgpg-error')
-rw-r--r--security/libgpg-error/Makefile6
-rw-r--r--security/libgpg-error/pkg-plist8
2 files changed, 11 insertions, 3 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index d5463aa39cc3..1605da36ab87 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgpg-error
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,8 +24,13 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --without-nls
+PLIST_SUB= NLS="@comment "
.else
+USE_ICONV= yes
USE_GETTEXT= yes
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+ --with-libintl-prefix=${LOCALBASE}
+PLIST_SUB= NLS=""
.endif
DOCS= AUTHORS ChangeLog NEWS README
diff --git a/security/libgpg-error/pkg-plist b/security/libgpg-error/pkg-plist
index c454dd89bdb1..009ee0ec0f29 100644
--- a/security/libgpg-error/pkg-plist
+++ b/security/libgpg-error/pkg-plist
@@ -2,13 +2,15 @@
bin/gpg-error
bin/gpg-error-config
include/gpg-error.h
-lib/libgpg-error.so.1
-lib/libgpg-error.so
-lib/libgpg-error.la
lib/libgpg-error.a
+lib/libgpg-error.la
+lib/libgpg-error.so
+lib/libgpg-error.so.1
share/aclocal/gpg-error.m4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%NLS%%share/locale/de/LC_MESSAGES/libgpg-error.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/libgpg-error.mo