diff options
author | ahze <ahze@FreeBSD.org> | 2006-11-20 00:15:21 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-11-20 00:15:21 +0800 |
commit | 013912888f00cbeda366e0a9d58323966f9c7279 (patch) | |
tree | 9e15c1637e3365993c1562c2f77f5f5800883619 /devel | |
parent | 84502be96f8dc73427d1377ce7281b339cb5a1d4 (diff) | |
download | freebsd-ports-graphics-013912888f00cbeda366e0a9d58323966f9c7279.tar.gz freebsd-ports-graphics-013912888f00cbeda366e0a9d58323966f9c7279.tar.zst freebsd-ports-graphics-013912888f00cbeda366e0a9d58323966f9c7279.zip |
- Update to 0.3.10
- Add a knob that enables 3dnow extensions (requires gcc40+)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/liboil/Makefile | 25 | ||||
-rw-r--r-- | devel/liboil/distinfo | 6 |
2 files changed, 21 insertions, 10 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile index cd94923eb7c..bd4d14f0293 100644 --- a/devel/liboil/Makefile +++ b/devel/liboil/Makefile @@ -6,8 +6,7 @@ # $Id: Makefile 23 2006-10-25 14:24:32Z buhnux $ PORTNAME= liboil -PORTVERSION= 0.3.9 -PORTREVISION= 1 +PORTVERSION= 0.3.10 CATEGORIES= devel MASTER_SITES= http://liboil.freedesktop.org/download/ \ ${MASTER_SITE_LOCAL} @@ -26,11 +25,23 @@ CFLAGS+= -O2 .include <bsd.port.pre.mk> .if ${OSVERSION} < 600000 && ${OSVERSION} > 500000 -#USE_GCC= 3.4 -BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 -RUN_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 -CC:= gcc34 -CXX:= g++34 +USE_GCC= 3.4+ +RUN_DEPENDS+= ${CC}:${PORTSDIR}/lang/${CC} +.endif + +.if defined(WITH_3DNOW_GCC40) +USE_GCC= 4.0+ +.endif + +pre-everything:: +.if ${MACHINE_CPU:M3dnow}!="" +.if !defined(WITH_3DNOW_GCC40) + @${ECHO_MSG} "You can enable 3dnow extensions by defining" + @${ECHO_MSG} "WITH_3DNOW_GCC40=yes" +.endif + @${ECHO_MSG} "" + @${ECHO_MSG} "Note: ${PORTNAME} will depend on gcc4.0+ with WITH_3DNOW_GCC40" + @${ECHO_MSG} "defined." .endif post-patch: diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo index a931c18d028..007f738b2ca 100644 --- a/devel/liboil/distinfo +++ b/devel/liboil/distinfo @@ -1,3 +1,3 @@ -MD5 (liboil-0.3.9.tar.gz) = 5d139b1fb16f0e93f0c84290ad2aaff8 -SHA256 (liboil-0.3.9.tar.gz) = dd4d680ce95e586a1bbe767e1a7b25e1c53f842b8be6cf4e30e89cfa8232dd90 -SIZE (liboil-0.3.9.tar.gz) = 833083 +MD5 (liboil-0.3.10.tar.gz) = 770f656bca8166dab33b322d5886a4bf +SHA256 (liboil-0.3.10.tar.gz) = 4587753a023550a066abe59a7e467c1af35b9f5e81bfb40a12463ad2df8f088c +SIZE (liboil-0.3.10.tar.gz) = 860303 |