From bf59c29f8196660e19ef4b9f4f21e573fed74c8a Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 7 Jun 2006 01:56:19 +0000 Subject: - Update to 0.3.9 Spotted on: portscout --- devel/liboil/Makefile | 4 +- devel/liboil/distinfo | 6 +- devel/liboil/files/patch-configure | 18 ----- devel/liboil/files/patch-liboil_liboilcpu.c | 108 ---------------------------- 4 files changed, 6 insertions(+), 130 deletions(-) delete mode 100644 devel/liboil/files/patch-configure delete mode 100644 devel/liboil/files/patch-liboil_liboilcpu.c (limited to 'devel') diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile index eb26e7fb33c4..bf70e7e95eae 100644 --- a/devel/liboil/Makefile +++ b/devel/liboil/Makefile @@ -6,7 +6,7 @@ # PORTNAME= liboil -PORTVERSION= 0.3.8 +PORTVERSION= 0.3.9 CATEGORIES= devel MASTER_SITES= http://liboil.freedesktop.org/download/ \ ${MASTER_SITE_LOCAL} @@ -23,6 +23,8 @@ CONFIGURE_ARGS= --disable-gtk-doc .include post-patch: + @${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ + ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|'); -+ if (end == NULL) return NULL; -+ colon = strchr (flags, '<'); -+#else - end = strchr(flags, '\n'); - if (end == NULL) return NULL; - colon = strchr (flags, ':'); -+#endif - if (colon == NULL) return NULL; - colon++; - if(colon >= end) return NULL; -@@ -402,15 +448,22 @@ - char *tok; - int n = 0; - -+#if !defined(__FreeBSD__) - while (*s == ' ') s++; -+#endif - - list = malloc (1 * sizeof(char *)); - while (*s) { - tok = s; -+#if defined(__FreeBSD__) -+ while (*s && *s != ',') s++; -+ list[n] = _strndup (tok, s - tok); -+ s++; -+#else - while (*s && *s != ' ') s++; -- - list[n] = _strndup (tok, s - tok); - while (*s && *s == ' ') s++; -+#endif - list = realloc (list, (n + 2) * sizeof(char *)); - n++; - } -- cgit