Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2020 10:05:45 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r543236 - head/graphics/a2png
Message-ID:  <202007241005.06OA5j5r081794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Fri Jul 24 10:05:45 2020
New Revision: 543236
URL: https://svnweb.freebsd.org/changeset/ports/543236

Log:
  - don't use obsolete gdlib-config

Modified:
  head/graphics/a2png/Makefile

Modified: head/graphics/a2png/Makefile
==============================================================================
--- head/graphics/a2png/Makefile	Fri Jul 24 10:05:02 2020	(r543235)
+++ head/graphics/a2png/Makefile	Fri Jul 24 10:05:45 2020	(r543236)
@@ -3,7 +3,7 @@
 
 PORTNAME=	a2png
 PORTVERSION=	0.1.5
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
@@ -13,19 +13,23 @@ COMMENT=	Converts plain ASCII text into PNG bitmap ima
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BROKEN_armv6=	fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
+BROKEN_armv7=	fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
+BROKEN_i386=	fails to build: parse.c:(.text+0x135): undefined reference to 'fgettok'
+
 LIB_DEPENDS=	libgd.so:graphics/gd
 
-BROKEN_armv6 =		fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
-BROKEN_armv7 =		fails to build: parse.c:(.text+0x174): undefined reference to 'fgettok'
-BROKEN_i386=		fails to build: parse.c:(.text+0x135): undefined reference to 'fgettok'
-
-USES=		tar:bzip2
+USES=		tar:bzip2 localbase
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-gd
+CONFIGURE_ARGS=	--enable-gd --with-gdlib-config-path=${WRKDIR}
 CFLAGS+=	-DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"'
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
 FONTROOTDIR?=	${LOCALBASE}/share/fonts
+
+pre-configure:
+	${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/gdlib-config
+	${CHMOD} +x ${WRKDIR}/gdlib-config
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007241005.06OA5j5r081794>