- 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
This commit is contained in:
Sergei Kolobov 2004-10-12 07:15:59 +00:00
parent 69ae040e37
commit c659bf04ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118834
2 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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