diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 02:26:14 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 02:26:14 +0800 |
commit | fea9d1549c6cd7bd647cc41105acd78648f9c431 (patch) | |
tree | 6b4799b0cf7b3d20af9184999a4aa0c2ebcba9ce /graphics/figurine | |
parent | 977e999c0b032333c38a39ae48369ce254ba2b8f (diff) | |
download | freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.gz freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.zst freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.zip |
- Switch to options helpers
- While here, add some NO_ARCHes
Approved by: portmgr blanket
Diffstat (limited to 'graphics/figurine')
-rw-r--r-- | graphics/figurine/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/graphics/figurine/Makefile b/graphics/figurine/Makefile index 3b2271d09c65..ba5790b3e80c 100644 --- a/graphics/figurine/Makefile +++ b/graphics/figurine/Makefile @@ -24,22 +24,18 @@ PLIST_FILES= bin/figurine \ PORTDOCS= * -.include <bsd.port.options.mk> - # Optimizations produce bad assembly code on sparc64 -.if ${ARCH} == "sparc64" -CFLAGS+= -O0 -.endif +CFLAGS_sparc64= -O0 post-patch: -.if !${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e "s|Doc examples src|src|" \ - ${WRKSRC}/Makefile.in -.endif @${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/Makefile.in \ ${WRKSRC}/Doc/Makefile.in \ ${WRKSRC}/examples/Makefile.in +post-patch-DOCS-off: + @${REINPLACE_CMD} -e "s|Doc examples src|src|" \ + ${WRKSRC}/Makefile.in + .include <bsd.port.mk> |