summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-14 10:21:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-14 10:21:19 +0000
commit83bd904d90a15e84b00939a34d3b205b8e52a360 (patch)
tree427ea0260b171a331fbefd6268a14256e35c533e
parentFix RUN_DEPENDS. (diff)
Add missing BUILD_DEPENDS/RUN_DEPENDS
PR: 26552 Submitted by: tkato@prontomail.ne.jp
Notes
Notes: svn path=/head/; revision=41366
-rw-r--r--graphics/sng/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/sng/Makefile b/graphics/sng/Makefile
index ca79dbd09eaa..3a9e46792c00 100644
--- a/graphics/sng/Makefile
+++ b/graphics/sng/Makefile
@@ -14,14 +14,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ijliao@FreeBSD.org
+BUILD_DEPENDS= ${X11BASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include
+CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
+ --with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
USE_GMAKE= yes
MAN1= sng.1
+pre-patch:
+ @${PERL} -pi -e 's|-static||g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>