[Midnightbsd-cvs] mports [16788] trunk/security/libgpg-error: fix build of libgpg-error

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 5 01:03:19 EDT 2014


Revision: 16788
          http://svnweb.midnightbsd.org/mports/?rev=16788
Author:   laffer1
Date:     2014-09-05 01:03:18 -0400 (Fri, 05 Sep 2014)
Log Message:
-----------
fix build of libgpg-error

Modified Paths:
--------------
    trunk/security/libgpg-error/Makefile
    trunk/security/libgpg-error/pkg-plist

Modified: trunk/security/libgpg-error/Makefile
===================================================================
--- trunk/security/libgpg-error/Makefile	2014-09-05 05:01:13 UTC (rev 16787)
+++ trunk/security/libgpg-error/Makefile	2014-09-05 05:03:18 UTC (rev 16788)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libgpg-error
 PORTVERSION=	1.13
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	${MASTER_SITE_GNUPG}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -11,9 +12,9 @@
 
 LICENSE=	gpl2
 
-USES=		tar:bzip2
-USE_AUTOTOOLS=	libtool
-USE_GNOME=	ltverhack
+OPTIONS_DEFINE=	DOCS NLS
+
+USES=		gmake libtool:keepla tar:bzip2
 USE_LDCONFIG=		yes
 GNU_CONFIGURE=		yes
 MAKE_JOBS_UNSAFE=	yes
@@ -22,7 +23,7 @@
 
 .if ${PORT_OPTIONS:MNLS}
 USES+=		gettext iconv
-CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
+CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
 		--with-libintl-prefix=${LOCALBASE}
 PLIST_SUB=	NLS=""
 .else
@@ -32,10 +33,8 @@
 
 DOCS=		AUTHORS ChangeLog NEWS README
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: trunk/security/libgpg-error/pkg-plist
===================================================================
--- trunk/security/libgpg-error/pkg-plist	2014-09-05 05:01:13 UTC (rev 16787)
+++ trunk/security/libgpg-error/pkg-plist	2014-09-05 05:03:18 UTC (rev 16788)
@@ -1,11 +1,9 @@
- at comment $FreeBSD$
 bin/gpg-error
 bin/gpg-error-config
 include/gpg-error.h
-lib/libgpg-error.a
 lib/libgpg-error.la
 lib/libgpg-error.so
-lib/libgpg-error.so.0
+lib/libgpg-error.so.11
 share/aclocal/gpg-error.m4
 share/common-lisp/source/gpg-error/gpg-error.asd
 share/common-lisp/source/gpg-error/gpg-error-package.lisp



More information about the Midnightbsd-cvs mailing list