diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-29 11:50:03 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-29 11:50:03 +0000 |
commit | cb2d1f7fd64f40aa1a7fa460dbf195a4a021c2e7 (patch) | |
tree | 7f2db5c61d28f51f1c483fc5d27ec351e7775894 /devel/pkgconfig | |
parent | 644ca3887a5c2bcb457c2da052b9d8a7558903fe (diff) | |
download | ports-cb2d1f7fd64f40aa1a7fa460dbf195a4a021c2e7.tar.gz ports-cb2d1f7fd64f40aa1a7fa460dbf195a4a021c2e7.zip |
Notes
Diffstat (limited to 'devel/pkgconfig')
-rw-r--r-- | devel/pkgconfig/Makefile | 4 | ||||
-rw-r--r-- | devel/pkgconfig/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | devel/pkgconfig/files/patch-pkg.c | 14 | ||||
-rw-r--r-- | devel/pkgconfig/pkg-plist | 2 |
4 files changed, 30 insertions, 3 deletions
diff --git a/devel/pkgconfig/Makefile b/devel/pkgconfig/Makefile index 7a3607f78e09..faba64f8e67b 100644 --- a/devel/pkgconfig/Makefile +++ b/devel/pkgconfig/Makefile @@ -21,11 +21,13 @@ LIBTOOLFILES= configure glib-1.2.8/configure LIBTOOLFLAGS= --disable-ltlibs \ --disable-shared +PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} + MAN1= pkg-config.1 post-extract: @${RM} -rf ${WRKSRC}/glib-1.2.8 - @${LN} -sf ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \ + @${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \ ${WRKSRC}/glib-1.2.8 post-install: diff --git a/devel/pkgconfig/files/patch-Makefile.in b/devel/pkgconfig/files/patch-Makefile.in index 21231c7c45c5..75cdeb89ca3a 100644 --- a/devel/pkgconfig/files/patch-Makefile.in +++ b/devel/pkgconfig/files/patch-Makefile.in @@ -1,8 +1,8 @@ $FreeBSD$ ---- Makefile.in 2001/04/29 10:36:36 1.1 -+++ Makefile.in 2001/04/29 10:37:03 +--- Makefile.in.orig Wed Jan 3 11:39:15 2001 ++++ Makefile.in Sun Apr 29 14:40:59 2001 @@ -35,7 +35,7 @@ DESTDIR = @@ -12,3 +12,12 @@ $FreeBSD$ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . +@@ -81,7 +81,7 @@ + + bin_PROGRAMS = pkg-config + +-INCLUDES = -DPKGLIBDIR="\"$(pkglibdir)\"" -I./glib-1.2.8 ++INCLUDES = -DPKGLIBDIR="\"$(pkglibdir)\"" -DXPKGLIBDIR="\"$(X11BASE)/libdata/@PACKAGE@\"" -DLPKGLIBDIR="\"$(LOCALBASE)/libdata/@PACKAGE@\"" -I./glib-1.2.8 + + pkg_config_SOURCES = pkg.h pkg.c partial-glib.h partial-glib.c parse.h parse.c main.c findme.c findme.h popt.c popt.h poptconfig.c popthelp.c poptint.h poptparse.c + diff --git a/devel/pkgconfig/files/patch-pkg.c b/devel/pkgconfig/files/patch-pkg.c new file mode 100644 index 000000000000..56a934c0b0b5 --- /dev/null +++ b/devel/pkgconfig/files/patch-pkg.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- pkg.c 2001/04/29 11:38:41 1.1 ++++ pkg.c 2001/04/29 11:39:06 +@@ -97,6 +97,8 @@ + + g_slist_foreach (search_dirs, (GFunc)scan_dir, NULL); + scan_dir (PKGLIBDIR); ++ scan_dir (XPKGLIBDIR); ++ scan_dir (LPKGLIBDIR); + } + } + diff --git a/devel/pkgconfig/pkg-plist b/devel/pkgconfig/pkg-plist index c1a5383da27c..3161e023d6fd 100644 --- a/devel/pkgconfig/pkg-plist +++ b/devel/pkgconfig/pkg-plist @@ -1,3 +1,5 @@ @exec mkdir -p %D/libdata/pkgconfig bin/pkg-config @dirrm libdata/pkgconfig +@unexec rmdir %%LOCALBASE%%/libdata/pkgconfig 2>/dev/null || true +@unexec rmdir %%X11BASE%%/libdata/pkgconfig 2>/dev/null || true |