aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-05-18 06:03:40 +0800
committerahze <ahze@FreeBSD.org>2006-05-18 06:03:40 +0800
commit61bed054611a2a5f73ea8c17dad1020b5b9cbf64 (patch)
treed30c6feb74715a9d5797a19c989f058cef67297f /devel
parent42c7fe15b1afff1d82d50c28ad8e30d2983a757f (diff)
downloadfreebsd-ports-gnome-61bed054611a2a5f73ea8c17dad1020b5b9cbf64.tar.gz
freebsd-ports-gnome-61bed054611a2a5f73ea8c17dad1020b5b9cbf64.tar.zst
freebsd-ports-gnome-61bed054611a2a5f73ea8c17dad1020b5b9cbf64.zip
- Update to 0.3.8
- Adopt port
Diffstat (limited to 'devel')
-rw-r--r--devel/liboil/Makefile14
-rw-r--r--devel/liboil/distinfo6
-rw-r--r--devel/liboil/files/patch-liboil_liboilcpu.c31
-rw-r--r--devel/liboil/pkg-plist45
4 files changed, 50 insertions, 46 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index e4ce6e25350e..eb26e7fb33c4 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -6,24 +6,24 @@
#
PORTNAME= liboil
-PORTVERSION= 0.3.6
+PORTVERSION= 0.3.8
CATEGORIES= devel
-MASTER_SITES= http://liboil.freedesktop.org/download/
+MASTER_SITES= http://liboil.freedesktop.org/download/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ahze
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ahze@FreeBSD.org
COMMENT= Library of optimized inner loops
-USE_GNOME= glib20
+USE_GNOME= glib20 gnomehack
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --disable-gtk-doc
-PLIST_SUB= VERSION=${PORTVERSION:R}
-
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|g' \
+ @${REINPLACE_CMD} -e 's|<stdint\.h|<inttypes.h|g' \
${WRKSRC}/liboil/liboiltypes.h \
${WRKSRC}/liboil/liboilprofile.h \
${WRKSRC}/liboil/liboil.h
diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo
index 61c484106ec3..8dc9aea910c2 100644
--- a/devel/liboil/distinfo
+++ b/devel/liboil/distinfo
@@ -1,3 +1,3 @@
-MD5 (liboil-0.3.6.tar.gz) = a36b2d9cc71d75d814d7bdca2263290f
-SHA256 (liboil-0.3.6.tar.gz) = 52cb40905064ef836527b01c86650bebf662e1224da43c6fb0f3e1f443de232c
-SIZE (liboil-0.3.6.tar.gz) = 714947
+MD5 (liboil-0.3.8.tar.gz) = a402c4af2603c8fb69b365af0b8ec775
+SHA256 (liboil-0.3.8.tar.gz) = 40fa52503e30c21fd1ae1affcc038ff05af5caf0c77c27630526069ffad804ff
+SIZE (liboil-0.3.8.tar.gz) = 834167
diff --git a/devel/liboil/files/patch-liboil_liboilcpu.c b/devel/liboil/files/patch-liboil_liboilcpu.c
index 6d5a57f46497..2a3310378f3c 100644
--- a/devel/liboil/files/patch-liboil_liboilcpu.c
+++ b/devel/liboil/files/patch-liboil_liboilcpu.c
@@ -1,18 +1,19 @@
---- liboil/liboilcpu.c.orig Sat May 21 14:12:56 2005
-+++ liboil/liboilcpu.c Sat May 21 14:34:37 2005
-@@ -59,7 +59,11 @@
+--- liboil/liboilcpu.c.orig Mon Mar 20 22:14:01 2006
++++ liboil/liboilcpu.c Wed May 17 17:47:44 2006
+@@ -71,7 +71,11 @@
cpuinfo = malloc(4096);
if (cpuinfo == NULL) return NULL;
-+#if defined(__FreeBSD__)
-+ fd = open("/var/run/dmesg.boot", O_RDONLY);
-+#else
- fd = open("/proc/cpuinfo", O_RDONLY);
-+#endif
- if (fd < 0) return NULL;
-
- n = read(fd, cpuinfo, 4095);
-@@ -84,6 +88,37 @@
+- fd = open("/proc/cpuinfo", O_RDONLY);
++ #if defined(__FreeBSD__)
++ fd = open("/var/run/dmesg.boot", O_RDONLY);
++ #else
++ fd = open("/proc/cpuinfo", O_RDONLY);
++ #endif
+ if (fd < 0) {
+ free (cpuinfo);
+ return NULL;
+@@ -104,6 +108,37 @@
}
flags = strsplit(cpuinfo_flags);
@@ -50,7 +51,7 @@
for (f = flags; *f; f++) {
if (strcmp (*f, "cmov") == 0) {
OIL_DEBUG ("cpu flag %s", *f);
-@@ -113,6 +148,7 @@
+@@ -134,6 +169,7 @@
OIL_DEBUG ("cpu flag %s", *f);
oil_cpu_flags |= OIL_IMPL_FLAG_3DNOWEXT;
}
@@ -58,7 +59,7 @@
free (*f);
}
-@@ -282,12 +318,22 @@
+@@ -381,12 +417,22 @@
char *end;
char *colon;
@@ -81,7 +82,7 @@
if (colon == NULL) return NULL;
colon++;
if(colon >= end) return NULL;
-@@ -303,15 +349,22 @@
+@@ -402,15 +448,22 @@
char *tok;
int n = 0;
diff --git a/devel/liboil/pkg-plist b/devel/liboil/pkg-plist
index 37f02a7f2ab0..57057fa781fd 100644
--- a/devel/liboil/pkg-plist
+++ b/devel/liboil/pkg-plist
@@ -1,22 +1,24 @@
-include/liboil-%%VERSION%%/liboil/liboil.h
-include/liboil-%%VERSION%%/liboil/liboilclasses.h
-include/liboil-%%VERSION%%/liboil/liboilcpu.h
-include/liboil-%%VERSION%%/liboil/liboildebug.h
-include/liboil-%%VERSION%%/liboil/liboilfuncs.h
-include/liboil-%%VERSION%%/liboil/liboilfunction.h
-include/liboil-%%VERSION%%/liboil/liboilgcc.h
-include/liboil-%%VERSION%%/liboil/liboilinternal.h
-include/liboil-%%VERSION%%/liboil/liboilparameter.h
-include/liboil-%%VERSION%%/liboil/liboilprofile.h
-include/liboil-%%VERSION%%/liboil/liboilprototype.h
-include/liboil-%%VERSION%%/liboil/liboilrandom.h
-include/liboil-%%VERSION%%/liboil/liboiltest.h
-include/liboil-%%VERSION%%/liboil/liboiltypes.h
-lib/liboil-%%VERSION%%.a
-lib/liboil-%%VERSION%%.la
-lib/liboil-%%VERSION%%.so
-lib/liboil-%%VERSION%%.so.1
-libdata/pkgconfig/liboil-%%VERSION%%.pc
+bin/oil-bugreport
+include/liboil-0.3/liboil/liboil-stdint.h
+include/liboil-0.3/liboil/liboil.h
+include/liboil-0.3/liboil/liboilclasses.h
+include/liboil-0.3/liboil/liboilcpu.h
+include/liboil-0.3/liboil/liboildebug.h
+include/liboil-0.3/liboil/liboilfuncs.h
+include/liboil-0.3/liboil/liboilfunction.h
+include/liboil-0.3/liboil/liboilgcc.h
+include/liboil-0.3/liboil/liboilinternal.h
+include/liboil-0.3/liboil/liboilparameter.h
+include/liboil-0.3/liboil/liboilprofile.h
+include/liboil-0.3/liboil/liboilprototype.h
+include/liboil-0.3/liboil/liboilrandom.h
+include/liboil-0.3/liboil/liboiltest.h
+include/liboil-0.3/liboil/liboiltypes.h
+lib/liboil-0.3.a
+lib/liboil-0.3.la
+lib/liboil-0.3.so
+lib/liboil-0.3.so.1
+libdata/pkgconfig/liboil-0.3.pc
share/gtk-doc/html/liboil/ch01.html
share/gtk-doc/html/liboil/ch02.html
share/gtk-doc/html/liboil/home.png
@@ -45,11 +47,12 @@ share/gtk-doc/html/liboil/liboil-liboilrandom.html
share/gtk-doc/html/liboil/liboil-liboiltest.html
share/gtk-doc/html/liboil/liboil-liboiltypes.html
share/gtk-doc/html/liboil/liboil.devhelp
+share/gtk-doc/html/liboil/liboil.devhelp2
share/gtk-doc/html/liboil/right.png
share/gtk-doc/html/liboil/style.css
share/gtk-doc/html/liboil/up.png
@dirrm share/gtk-doc/html/liboil
@dirrmtry share/gtk-doc/html
@dirrmtry share/gtk-doc
-@dirrm include/liboil-%%VERSION%%/liboil
-@dirrm include/liboil-%%VERSION%%
+@dirrm include/liboil-0.3/liboil
+@dirrm include/liboil-0.3