diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-02-25 22:22:46 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-02-25 22:22:46 +0000 |
commit | 6a00b246f7b0d81a4c5defd474e1630348fb444f (patch) | |
tree | ade2475a38146f96a1a01d2504a1d0b5d5fcecb1 /graphics/figurine | |
parent | 6b745d8b4045b09eed7aa9ba2f56da15b1719441 (diff) | |
download | ports-6a00b246f7b0d81a4c5defd474e1630348fb444f.tar.gz ports-6a00b246f7b0d81a4c5defd474e1630348fb444f.zip |
Notes
Diffstat (limited to 'graphics/figurine')
-rw-r--r-- | graphics/figurine/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/graphics/figurine/Makefile b/graphics/figurine/Makefile index 33ee533e1667..62417d431754 100644 --- a/graphics/figurine/Makefile +++ b/graphics/figurine/Makefile @@ -12,24 +12,32 @@ CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= A drawing program for X11 RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig - GNU_CONFIGURE= yes USE_XPM= yes MAN1= figurine.1 +.include <bsd.port.pre.mk> + +# Optimizations produce bad assembly code on sparc64 +.if ${ARCH} == "sparc64" +CFLAGS+= -=O0 +.endif + post-patch: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e "s|Doc examples src|src|" \ ${WRKSRC}/Makefile.in .endif - @${FIND} ${WRKSRC} -type f -name Makefile.in | \ - ${XARGS} -n 10 ${REINPLACE_CMD} \ - -e 's|datadir = @datadir@|datadir = @datadir@/doc|' + @${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \ + ${WRKSRC}/Makefile.in \ + ${WRKSRC}/src/Makefile.in \ + ${WRKSRC}/Doc/Makefile.in \ + ${WRKSRC}/examples/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |