diff options
author | marcus <marcus@FreeBSD.org> | 2003-07-27 17:21:38 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-07-27 17:21:38 +0000 |
commit | d5e79e7dc41ea5604e97b6a89f16b2f385df9c07 (patch) | |
tree | fa5d9eda881279e75432fb0976158df33c237c05 /graphics/gimp | |
parent | c4d59248189fa93c84495c62f1c9ff21bf22e01c (diff) | |
download | FreeBSD-ports-d5e79e7dc41ea5604e97b6a89f16b2f385df9c07.zip FreeBSD-ports-d5e79e7dc41ea5604e97b6a89f16b2f385df9c07.tar.gz |
Do not patch the asm blocks on 5.x since GCC 3.x can take full
advantage of MMX and SSE registers.
Submitted by: Alexander Nedotsukov <bland@mail.ru>
Diffstat (limited to 'graphics/gimp')
-rw-r--r-- | graphics/gimp/Makefile | 7 | ||||
-rw-r--r-- | graphics/gimp/files/asm_old_gcc.patch (renamed from graphics/gimp/files/patch-asm_old_gcc) | 0 |
2 files changed, 6 insertions, 1 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 236ddf6..f3aa4d1 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -7,6 +7,7 @@ PORTNAME= gimp PORTVERSION= 1.3.17 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -68,6 +69,10 @@ LIB_DEPENDS+= gimpprint.2:${PORTSDIR}/print/gimp-print .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${PATCHDIR}/asm_old_gcc.patch +.endif + .if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc) WITH_HTML_HELP_BROWSER= yes .endif @@ -80,7 +85,7 @@ PKGNAMESUFFIX= -gnome .if defined(WITH_HTML_HELP_BROWSER) USE_GNOME+= libgtkhtml -PLIST_SUB+= HELPBROWSER:="" +PLIST_SUB+= HELPBROWSER:="" .else PLIST_SUB+= HELPBROWSER:="@comment " .endif diff --git a/graphics/gimp/files/patch-asm_old_gcc b/graphics/gimp/files/asm_old_gcc.patch index 56515dc..56515dc 100644 --- a/graphics/gimp/files/patch-asm_old_gcc +++ b/graphics/gimp/files/asm_old_gcc.patch |