summaryrefslogtreecommitdiffstats
path: root/devel/pkg-config
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-01 17:46:50 +0000
committersobomax <sobomax@FreeBSD.org>2001-08-01 17:46:50 +0000
commit49ec4a426c34d797f4baf09273f1bb4e8e4e7980 (patch)
tree26d1e71a02e39fded704b34e193c47c80f446cdf /devel/pkg-config
parent50a5bc639a03af146594de0a0bc5e4e36ea03054 (diff)
downloadFreeBSD-ports-49ec4a426c34d797f4baf09273f1bb4e8e4e7980.zip
FreeBSD-ports-49ec4a426c34d797f4baf09273f1bb4e8e4e7980.tar.gz
- Update to 0.8.0;
- disconnect the build from gtk12 port - it was a bad idea from begining.
Diffstat (limited to 'devel/pkg-config')
-rw-r--r--devel/pkg-config/Makefile13
-rw-r--r--devel/pkg-config/distinfo2
-rw-r--r--devel/pkg-config/files/patch-glib-1.2.8::Makefile.in12
-rw-r--r--devel/pkg-config/files/patch-parse.c34
-rw-r--r--devel/pkg-config/pkg-descr3
5 files changed, 47 insertions, 17 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile
index b3721bf..1cf141e 100644
--- a/devel/pkg-config/Makefile
+++ b/devel/pkg-config/Makefile
@@ -6,30 +6,25 @@
#
PORTNAME= pkgconfig
-PORTVERSION= 0.6.0
+PORTVERSION= 0.8.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= http://www.freedesktop.org/software/pkgconfig/releases/ \
+ ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
-BUILD_DEPENDS= /nonexistent:${PORTSDIR}/devel/glib12:patch
-
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFILES= glib-1.2.8/configure
LIBTOOLFLAGS= --disable-ltlibs \
--disable-shared
+MAKE_ENV= PKGCONF_BUILD=yes
PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
MAN1= pkg-config.1
-post-extract:
- @${RM} -rf ${WRKSRC}/glib-1.2.8
- @${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \
- ${WRKSRC}/glib-1.2.8
-
post-install:
${MKDIR} ${PREFIX}/libdata/pkgconfig
diff --git a/devel/pkg-config/distinfo b/devel/pkg-config/distinfo
index 96536df..5c9080f 100644
--- a/devel/pkg-config/distinfo
+++ b/devel/pkg-config/distinfo
@@ -1 +1 @@
-MD5 (pkgconfig-0.6.0.tar.gz) = 7eb78b6bf2bedf621f084d946ee3d640
+MD5 (pkgconfig-0.8.0.tar.gz) = e110ee9635fbc0ec159c440c75876a96
diff --git a/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in b/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
index 78c2a8d..f789c92 100644
--- a/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
+++ b/devel/pkg-config/files/patch-glib-1.2.8::Makefile.in
@@ -1,14 +1,14 @@
$FreeBSD$
---- glib-1.2.8/Makefile.in 2001/04/29 10:41:24 1.1
-+++ glib-1.2.8/Makefile.in 2001/04/29 10:42:12
-@@ -624,7 +624,7 @@
+--- glib-1.2.8/Makefile.in.orig Thu Jul 12 03:45:31 2001
++++ glib-1.2.8/Makefile.in Wed Aug 1 10:42:44 2001
+@@ -501,7 +501,7 @@
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-recursive
+install:
- uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS \
- uninstall-configincludeDATA uninstall-m4dataDATA \
- uninstall-pkgconfigDATA uninstall-glibincludeHEADERS
+ uninstall-am:
+ uninstall: uninstall-recursive
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
diff --git a/devel/pkg-config/files/patch-parse.c b/devel/pkg-config/files/patch-parse.c
new file mode 100644
index 0000000..b591663
--- /dev/null
+++ b/devel/pkg-config/files/patch-parse.c
@@ -0,0 +1,34 @@
+
+$FreeBSD$
+
+--- parse.c 2001/08/01 07:24:17 1.1
++++ parse.c 2001/08/01 07:25:02
+@@ -952,9 +952,9 @@
+ {
+ char *output;
+
+- debug_spew ("Calling glib-config\n");
++ debug_spew ("Calling glib12-config\n");
+
+- pkg->version = backticks ("glib-config --version");
++ pkg->version = backticks ("glib12-config --version");
+ if (pkg->version == NULL)
+ {
+ g_free (pkg);
+@@ -965,12 +965,12 @@
+ pkg->key = g_strdup ("glib");
+ pkg->description = g_strdup ("C Utility Library");
+
+- output = backticks ("glib-config --libs");
+- parse_libs (pkg, output, "glib-config");
++ output = backticks ("glib12-config --libs");
++ parse_libs (pkg, output, "glib12-config");
+ g_free (output);
+
+- output = backticks ("glib-config --cflags");
+- parse_cflags (pkg, output, "glib-config");
++ output = backticks ("glib12-config --cflags");
++ parse_cflags (pkg, output, "glib12-config");
+ g_free (output);
+
+ return pkg;
diff --git a/devel/pkg-config/pkg-descr b/devel/pkg-config/pkg-descr
index 283b288..f61c170 100644
--- a/devel/pkg-config/pkg-descr
+++ b/devel/pkg-config/pkg-descr
@@ -15,4 +15,5 @@ multiple versions simultaneously, it must give each version its own name (for
example, GTK 1.2 might have the package name "gtk+" while GTK 2.0 has
"gtk+-2.0").
-WWW: http://pkgconfig.sourceforge.net
+WWW: http://www.freedesktop.org/software/pkgconfig/
+ http://pkgconfig.sourceforge.net
OpenPOWER on IntegriCloud