diff options
author | drochner <drochner> | 2009-06-25 17:37:11 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-06-25 17:37:11 +0000 |
commit | e598a2b2c73dfb322cd0d4e10d625d8368a9fab6 (patch) | |
tree | 8ec17b267e6cbe7fd32b8da3a17b906eee22bae3 /sysutils/gnome-vfs/Makefile.common | |
parent | bf9d50317a798fce22f3ef8ff47623b1148c373a (diff) | |
download | pkgsrc-e598a2b2c73dfb322cd0d4e10d625d8368a9fab6.tar.gz |
work around nonexistant config script in gnutls-1.8 the same way
as in wireshark
this restores eg "https" functionality
bump PKGREVISION
Diffstat (limited to 'sysutils/gnome-vfs/Makefile.common')
-rw-r--r-- | sysutils/gnome-vfs/Makefile.common | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs/Makefile.common b/sysutils/gnome-vfs/Makefile.common index db17184a43f..e3a08dfdaae 100644 --- a/sysutils/gnome-vfs/Makefile.common +++ b/sysutils/gnome-vfs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.19 2009/06/14 22:58:09 joerg Exp $ +# $NetBSD: Makefile.common,v 1.20 2009/06/25 17:37:11 drochner Exp $ # # used by audio/gnome-vfs-cdda/Makefile # used by net/gnome-vfs-dns-sd/Makefile @@ -18,6 +18,7 @@ COMMENT= GNOME Virtual File System (v2) DISTINFO_FILE= ${.CURDIR}/../../sysutils/gnome-vfs/distinfo PATCHDIR= ${.CURDIR}/../../sysutils/gnome-vfs/patches +FILESDIR= ${.CURDIR}/../../sysutils/gnome-vfs/files GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES @@ -30,6 +31,8 @@ CONFIGURE_ARGS+= --disable-openssl CONFIGURE_ARGS+= --disable-samba CONFIGURE_ARGS+= --enable-gnutls CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} +# XXX work around missing "libgnutls-config" in gnutls-2.8 +CONFIGURE_ENV+= LIBGNUTLS_CONFIG=${WRKDIR}/libgnutls-config CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\"" @@ -57,6 +60,11 @@ post-wrapper: ${TOUCH} ${BUILDLINK_DIR}/include/sys/fstyp.h .endif +pre-configure: + ${SED} "s|@SH@|${SH}|" <${FILESDIR}/libgnutls-config \ + >${WRKDIR}/libgnutls-config + ${CHMOD} +x ${WRKDIR}/libgnutls-config + # # The following stuff is to allow easy building of modules distributed within # gnome-vfs as independent packages. |