diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sng/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/sng/Makefile b/graphics/sng/Makefile index ca79dbd..3a9e467 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> |