diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-02 21:35:01 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-02 21:35:01 +0000 |
commit | 13cf3b21c8098e10a5ce8299f4d2a159f88305ed (patch) | |
tree | b9e9761d55fb640818e70c26b2ed286da0f353f5 /x11 | |
parent | 77f617c8f77c315d350ecc80311b681c6ebe7e71 (diff) | |
download | ports-13cf3b21c8098e10a5ce8299f4d2a159f88305ed.tar.gz ports-13cf3b21c8098e10a5ce8299f4d2a159f88305ed.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/babl/Makefile | 12 | ||||
-rw-r--r-- | x11/babl/files/patch-docs-Makefile.in | 11 |
2 files changed, 22 insertions, 1 deletions
diff --git a/x11/babl/Makefile b/x11/babl/Makefile index e731eff6185a..6615e3af3379 100644 --- a/x11/babl/Makefile +++ b/x11/babl/Makefile @@ -27,4 +27,14 @@ USE_AUTOTOOLS= libtool:22 USE_GNOME= pkgconfig gnomehack ltverhack USE_GMAKE= yes -.include <bsd.port.mk> +OPTIONS= SIMD "Use cpu-specific optimizations if available" off + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_SIMD) +CONFIGURE_ARGS+=--enable-mmx \ + --enable-sse \ + --enable-altivec +.endif + +.include <bsd.port.post.mk> diff --git a/x11/babl/files/patch-docs-Makefile.in b/x11/babl/files/patch-docs-Makefile.in new file mode 100644 index 000000000000..9ca19747e46e --- /dev/null +++ b/x11/babl/files/patch-docs-Makefile.in @@ -0,0 +1,11 @@ +--- docs/Makefile.in~ ++++ docs/Makefile.in +@@ -571,7 +571,7 @@ index.html: index-static.html + Makefile.am + echo -n "HTML: $@" + cp $< $@ +- (which mktemp > /dev/null&& TMPFILE=`mktemp` || TMPFILE="/tmp/babl_build_tempfile" ;\ ++ (which mktemp > /dev/null&& TMPFILE=`mktemp -t babl` || TMPFILE="/tmp/babl_build_tempfile" ;\ + export BABL_PATH="$(top_builddir)/extensions"; $(babl_html_dump) > $$TMPFILE;\ + $(top_srcdir)/docs/tools/xml_insert.sh $@ BablBase $$TMPFILE;\ + rm -f $$TMPFILE ) |