diff options
author | ade <ade@FreeBSD.org> | 2000-08-04 09:34:38 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-08-04 09:34:38 +0800 |
commit | 3e67804d709e34d749caa36729ea54b374435d71 (patch) | |
tree | c94a783d14521476b590ec94cfa766b5f0c161fa /devel/gnome-vfs1 | |
parent | 78d864a22bfe1d46d818657e84f7e312bc38f4ec (diff) | |
download | freebsd-ports-graphics-3e67804d709e34d749caa36729ea54b374435d71.tar.gz freebsd-ports-graphics-3e67804d709e34d749caa36729ea54b374435d71.tar.zst freebsd-ports-graphics-3e67804d709e34d749caa36729ea54b374435d71.zip |
Extensive patchfile cleanups using sobomax's wonderful
post-extract rule
Diffstat (limited to 'devel/gnome-vfs1')
-rw-r--r-- | devel/gnome-vfs1/Makefile | 9 | ||||
-rw-r--r-- | devel/gnome-vfs1/files/patch-aa | 9 | ||||
-rw-r--r-- | devel/gnome-vfs1/files/patch-ac | 20 | ||||
-rw-r--r-- | devel/gnome-vfs1/pkg-plist | 1 |
4 files changed, 23 insertions, 16 deletions
diff --git a/devel/gnome-vfs1/Makefile b/devel/gnome-vfs1/Makefile index 96c899f3be6..d461a53f3c1 100644 --- a/devel/gnome-vfs1/Makefile +++ b/devel/gnome-vfs1/Makefile @@ -16,7 +16,7 @@ MAINTAINER= ade@FreeBSD.org LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ capplet.4:${PORTSDIR}/sysutils/gnomecontrolcenter \ - gconf.8:${PORTSDIR}/devel/gconf \ + gconf-1.0:${PORTSDIR}/devel/gconf \ bz2.1:${PORTSDIR}/archivers/bzip2 GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config @@ -36,4 +36,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN5= gnome-vfs-mime.5 +post-extract: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + .include <bsd.port.mk> diff --git a/devel/gnome-vfs1/files/patch-aa b/devel/gnome-vfs1/files/patch-aa index 743135715f1..1c45a532c43 100644 --- a/devel/gnome-vfs1/files/patch-aa +++ b/devel/gnome-vfs1/files/patch-aa @@ -9,15 +9,6 @@ fi # Check whether --enable-libefs or --disable-libefs was given. -@@ -4862,7 +4862,7 @@ - cat conftest.$ac_ext >&5 - rm -rf conftest* - CATOBJEXT=.mo -- DATADIRNAME=lib -+ DATADIRNAME=share - fi - rm -f conftest* - INSTOBJEXT=.mo @@ -5924,7 +5924,7 @@ VFSPTHREAD_LIBDIR='-L${libdir}' VFSPTHREAD_INCLUDEDIR='-I${includedir} -I${libdir}/vfs/include' diff --git a/devel/gnome-vfs1/files/patch-ac b/devel/gnome-vfs1/files/patch-ac index 7be0be993a1..dfe39cf495c 100644 --- a/devel/gnome-vfs1/files/patch-ac +++ b/devel/gnome-vfs1/files/patch-ac @@ -1,18 +1,26 @@ ---- modules/Makefile.in.orig Tue Feb 22 01:45:51 2000 -+++ modules/Makefile.in Wed Jun 28 16:20:34 2000 +--- modules/Makefile.in.orig Wed Aug 2 13:39:35 2000 ++++ modules/Makefile.in Wed Aug 2 13:48:21 2000 @@ -191,6 +191,7 @@ - libftp_la_SOURCES = ftp-method.c ftp-method.h module-shared.c module-shared.h + libfile_la_SOURCES = file-method.c file-method.h +libftp_la_LDFLAGS = $(module_flags) - ### `gconf' method + libfile_la_LDFLAGS = $(module_flags) -@@ -238,7 +239,6 @@ +@@ -266,14 +267,13 @@ libbzip2_la_OBJECTS = bzip2-method.lo libgzip_la_DEPENDENCIES = libgzip_la_OBJECTS = gzip-method.lo -libftp_la_LDFLAGS = libftp_la_LIBADD = - libftp_la_OBJECTS = ftp-method.lo module-shared.lo + libftp_la_OBJECTS = ftp-method.lo libvfs_pipe_la_DEPENDENCIES = + libvfs_pipe_la_OBJECTS = pipe-method.lo + libvfs_translate_la_DEPENDENCIES = + libvfs_translate_la_OBJECTS = translate-method.lo +-libvefs_la_LDFLAGS = ++libvefs_la_LDFLAGS = $(module_flags) + @HAVE_LIBEFS_TRUE@libvefs_la_DEPENDENCIES = + @HAVE_LIBEFS_TRUE@libvefs_la_OBJECTS = efs-method.lo + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) diff --git a/devel/gnome-vfs1/pkg-plist b/devel/gnome-vfs1/pkg-plist index 9b000872740..4693bda125f 100644 --- a/devel/gnome-vfs1/pkg-plist +++ b/devel/gnome-vfs1/pkg-plist @@ -82,6 +82,7 @@ lib/vfs/modules/libftp.so lib/vfs/modules/libgconf.so lib/vfs/modules/libgzip.so lib/vfs/modules/libhttp.so +lib/vfs/modules/libvefs.so lib/vfs/modules/libvfs-pipe.so lib/vfs/modules/libvfs-translate.so share/gnome/apps/Settings/nautilus-mime-type.desktop |