ports/72274: [PATCH] security/libgpg-error: fix PLIST
Yen-Ming Lee
leeym at FreeBSD.org
Sun Oct 3 07:40:19 UTC 2004
>Number: 72274
>Category: ports
>Synopsis: [PATCH] security/libgpg-error: fix PLIST
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 03 07:40:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:
- use USE_LIBTOOL_VER instead of USE_INC_LIBTOOL_VER and eliminate *.la
- utilize PORTDOCS
- specify prefix for iconv and intl in case PREFIX != LOCALBASE
- add optional missing files (*.mo)
Port maintainer (sergei at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- libgpg-error-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/libgpg-error/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 24 Aug 2004 15:35:41 -0000 1.9
+++ Makefile 3 Oct 2004 07:34:42 -0000
@@ -16,23 +16,26 @@
USE_GPG= yes
SIG_SUFFIX= .sig
-USE_INC_LIBTOOL_VER= 15
+USE_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS= --without-nls
+CONFIGURE_ARGS+=--without-nls
+PLISB_SUB+= NLS="@comment "
.else
+CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} --with-libintl-prefix=${LOCALBASE}
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.endif
-DOCS= AUTHORS ChangeLog NEWS README
+PORTDOCS= AUTHORS ChangeLog NEWS README
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/security/libgpg-error/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist 27 Mar 2004 22:12:40 -0000 1.3
+++ pkg-plist 3 Oct 2004 07:34:42 -0000
@@ -4,11 +4,7 @@
include/gpg-error.h
lib/libgpg-error.so.1
lib/libgpg-error.so
-lib/libgpg-error.la
lib/libgpg-error.a
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
--- libgpg-error-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list