aboutsummaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-11-19 16:15:21 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-11-19 16:15:21 +0000
commit35015d38aa4a7208d8bfcd13c7ee1b5c487b3ea8 (patch)
treec0dbf4e8378ab107b20574fc3d049eacafd73055 /devel/liboil
parenta665e766842ae542ab5bc6abb539e3576670704a (diff)
downloadports-35015d38aa4a7208d8bfcd13c7ee1b5c487b3ea8.tar.gz
ports-35015d38aa4a7208d8bfcd13c7ee1b5c487b3ea8.zip
- Update to 0.3.10
- Add a knob that enables 3dnow extensions (requires gcc40+)
Notes
Notes: svn path=/head/; revision=177591
Diffstat (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile25
-rw-r--r--devel/liboil/distinfo6
2 files changed, 21 insertions, 10 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index cd94923eb7cb..bd4d14f02931 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 a931c18d0281..007f738b2cac 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