summaryrefslogtreecommitdiffstats
path: root/graphics/sng/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-15 18:00:11 +0000
committerdanfe <danfe@FreeBSD.org>2007-06-15 18:00:11 +0000
commit14acc29d207765ca4f122612ea083d55deacaec4 (patch)
treebfd588b468d870b5a86ad7cb02c3c5c41969b29d /graphics/sng/Makefile
parentd69874978bc9b6a5ef832e1b6220dee9078fecec (diff)
downloadFreeBSD-ports-14acc29d207765ca4f122612ea083d55deacaec4.zip
FreeBSD-ports-14acc29d207765ca4f122612ea083d55deacaec4.tar.gz
- Fix the build with recent GCC [1]
- Correctly assign RUN_DEPENDS - Minor indentation nit in Makefile - Kill EOL space in pkg-descr Reported by: pointyhat (logs) [1]
Diffstat (limited to 'graphics/sng/Makefile')
-rw-r--r--graphics/sng/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/sng/Makefile b/graphics/sng/Makefile
index 69eff9f..2143f81 100644
--- a/graphics/sng/Makefile
+++ b/graphics/sng/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Compiler/decompiler for Scriptable Network Graphics
BUILD_DEPENDS= ${X11BASE}/lib/X11/rgb.txt:${X_CLIENTS_PORT}
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
@@ -26,11 +26,12 @@ CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
USE_GMAKE= yes
-MAN1= sng.1
+MAN1= sng.1
PLIST_FILES= bin/sng bin/sng_regress
pre-patch:
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
OpenPOWER on IntegriCloud