aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/ida/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile
index 45f94621295e..1784f64cf22b 100644
--- a/graphics/ida/Makefile
+++ b/graphics/ida/Makefile
@@ -24,14 +24,21 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
USE_GMAKE= yes
USE_MOTIF= yes
USE_PERL5_BUILD=yes
+USE_ICONV= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
MAKEFILE= ${WRKSRC}/GNUmakefile
+LDLIBS= -liconv
+MAKE_ENV+= LDLIBS="${LDLIBS}"
MAN1= exiftran.1 ida.1
PORTDOCS= README TODO INSTALL
PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
+post-patch:
+ ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/rd/read-png.c
+
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin
.if !defined(NOPORTDOCS)