[Midnightbsd-cvs] mports [21274] trunk/finance/libofx: cleanup

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Mar 25 22:43:38 EDT 2016


Revision: 21274
          http://svnweb.midnightbsd.org/mports/?rev=21274
Author:   laffer1
Date:     2016-03-25 22:43:37 -0400 (Fri, 25 Mar 2016)
Log Message:
-----------
cleanup

Modified Paths:
--------------
    trunk/finance/libofx/Makefile
    trunk/finance/libofx/pkg-plist

Added Paths:
-----------
    trunk/finance/libofx/files/patch-configure

Removed Paths:
-------------
    trunk/finance/libofx/files/patch-lib__ofx_preproc.cpp

Modified: trunk/finance/libofx/Makefile
===================================================================
--- trunk/finance/libofx/Makefile	2016-03-26 02:40:32 UTC (rev 21273)
+++ trunk/finance/libofx/Makefile	2016-03-26 02:43:37 UTC (rev 21274)
@@ -21,21 +21,16 @@
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
+PORTDOCS=	*
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	DOCS DOXYGEN
+OPTIONS_DEFINE=	DOCS
 
 .include <bsd.mport.options.mk>
 
 post-install:
 	${RM} -f ${STAGEDIR}${DOCSDIR}/COPYING
-.if ${PORT_OPTIONS:MDOXYGEN}
-	@${FIND} -P ${STAGEDIR}${DOCSDIR}/html -type f 2>/dev/null | \
-		${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST}
-	@${FIND} -P -d ${STAGEDIR}${DOCSDIR}/ -type d 2>/dev/null | \
-		${SED} -ne 's|^${STAGEDIR}${PREFIX}/|@dirrmtry |p' >> ${TMPPLIST}
-.endif
 
 .include <bsd.port.mk>

Added: trunk/finance/libofx/files/patch-configure
===================================================================
--- trunk/finance/libofx/files/patch-configure	                        (rev 0)
+++ trunk/finance/libofx/files/patch-configure	2016-03-26 02:43:37 UTC (rev 21274)
@@ -0,0 +1,11 @@
+--- configure.orig	2014-09-12 19:48:15 UTC
++++ configure
+@@ -3791,7 +3791,7 @@ $as_echo "#define HAVE_GCC_VISIBILITY_EX
+ 
+ 	VISIBILITY_FLAGS="-fvisibility=hidden"
+ 	CFLAGS="$VISIBILITY_FLAGS $CFLAGS"
+-	CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CFLAGS"
++	CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CXXFLAGS"
+ fi
+ 
+ ## Pass -DIN_LIBOFX to the compiler so we can detect it and include config.h


Property changes on: trunk/finance/libofx/files/patch-configure
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/finance/libofx/files/patch-lib__ofx_preproc.cpp
===================================================================
--- trunk/finance/libofx/files/patch-lib__ofx_preproc.cpp	2016-03-26 02:40:32 UTC (rev 21273)
+++ trunk/finance/libofx/files/patch-lib__ofx_preproc.cpp	2016-03-26 02:43:37 UTC (rev 21274)
@@ -1,11 +0,0 @@
---- ./lib/ofx_preproc.cpp.orig	2013-04-25 14:06:29.000000000 -0400
-+++ ./lib/ofx_preproc.cpp	2014-06-22 19:44:48.000000000 -0400
-@@ -310,7 +310,7 @@
-             size_t outbytesleft = inbytesleft * 2 - 1;
-             iconv_buffer = (char*) malloc (inbytesleft * 2);
-             memset(iconv_buffer, 0, inbytesleft * 2);
--#if defined(OS_WIN32) || defined(__sun)
-+#if defined(OS_WIN32) || defined(__sun) || defined(__FreeBSD__)
-             const char * inchar = (const char *)s_buffer.c_str();
- #else
-             char * inchar = (char *)s_buffer.c_str();

Modified: trunk/finance/libofx/pkg-plist
===================================================================
--- trunk/finance/libofx/pkg-plist	2016-03-26 02:40:32 UTC (rev 21273)
+++ trunk/finance/libofx/pkg-plist	2016-03-26 02:43:37 UTC (rev 21274)
@@ -9,12 +9,6 @@
 libdata/pkgconfig/libofx.pc
 man/man1/ofxconnect.1.gz
 man/man1/ofxdump.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/totest.txt
 %%DATADIR%%/dtd/ofc.dtd
 %%DATADIR%%/dtd/ofx160.dtd
 %%DATADIR%%/dtd/ofx201.dtd



More information about the Midnightbsd-cvs mailing list