svn commit: r504584 - head/databases/pxtools

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jun 19 17:50:37 UTC 2019


Author: danfe
Date: Wed Jun 19 17:50:35 2019
New Revision: 504584
URL: https://svnweb.freebsd.org/changeset/ports/504584

Log:
  - Remove broken mirror from the MASTER_SITES
  - Fix database parsing on 64-bit architectures: it used `void *'
    pointer (only as a placeholder), while its size was used in
    read(2) calls which resulted in wrong generated table names
  - Add a Y2K option (Y2k workaround for Paradox < 7.0)
  - Convert to USES+=localbase, fix a typo in the port description,
    and take maintainership as I might be using it sometimes

Modified:
  head/databases/pxtools/Makefile
  head/databases/pxtools/pkg-descr

Modified: head/databases/pxtools/Makefile
==============================================================================
--- head/databases/pxtools/Makefile	Wed Jun 19 17:25:23 2019	(r504583)
+++ head/databases/pxtools/Makefile	Wed Jun 19 17:50:35 2019	(r504584)
@@ -5,18 +5,23 @@ PORTNAME=	pxtools
 PORTVERSION=	0.0.20
 PORTREVISION=	4
 CATEGORIES=	databases
-MASTER_SITES=	http://jan.kneschke.de/downloads/pxtools/ \
-		http://www.sourcefiles.org/Databases/Utilities/Conversion/
+MASTER_SITES=	http://jan.kneschke.de/downloads/pxtools/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	danfe at FreeBSD.org
 COMMENT=	Collection of tools to work with Paradox databases
 
 LICENSE=	GPLv2
 
-USES=		gettext
+USES=		gettext localbase
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+OPTIONS_DEFINE=	Y2K
+Y2K_DESC=	Y2k workaround for Paradox < 7.0
+
+Y2K_CONFIGURE_ON=	--enable-y2k
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,void \*ptr,int ptr,' \
+		${WRKSRC}/src/pxparse.c
 
 .include <bsd.port.mk>

Modified: head/databases/pxtools/pkg-descr
==============================================================================
--- head/databases/pxtools/pkg-descr	Wed Jun 19 17:25:23 2019	(r504583)
+++ head/databases/pxtools/pkg-descr	Wed Jun 19 17:50:35 2019	(r504584)
@@ -5,6 +5,6 @@ pxtools consists of the following:
   the important information.
 * pxsqldump/pxcsvdump are utilities to extract the data from a
   Paradox-database.  The output is an SQL-/CSV-dump that can be
-  used to recreate the database in an SQL-enviroment.
+  used to recreate the database in an SQL environment.
 
 WWW: http://jan.kneschke.de/projects/pxtools/


More information about the svn-ports-head mailing list