svn commit: r543236 - head/graphics/a2png
Dirk Meyer
dinoex at FreeBSD.org
Fri Jul 24 10:05:46 UTC 2020
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
More information about the svn-ports-all
mailing list