diff options
author | wiz <wiz> | 2001-12-12 18:25:39 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-12-12 18:25:39 +0000 |
commit | 3408a556b1498aeb0e77e8265ca785878c6f1693 (patch) | |
tree | b8b59e5a21e59a7a2dff7dbed3ad2c47f8a5cad9 /net | |
parent | 0e995821c59f67e98fbfe8a75662d9448d6d92b6 (diff) | |
download | pkgsrc-3408a556b1498aeb0e77e8265ca785878c6f1693.tar.gz |
Buildlinkify. While here, fix creating of the settings directory on first start.
Diffstat (limited to 'net')
-rw-r--r-- | net/gnapster/Makefile | 11 | ||||
-rw-r--r-- | net/gnapster/distinfo | 3 | ||||
-rw-r--r-- | net/gnapster/patches/patch-ac | 25 |
3 files changed, 33 insertions, 6 deletions
diff --git a/net/gnapster/Makefile b/net/gnapster/Makefile index 1800b8fd6f5..2e3959dd07c 100644 --- a/net/gnapster/Makefile +++ b/net/gnapster/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/09/27 23:18:27 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2001/12/12 18:25:39 wiz Exp $ DISTNAME= gnapster-1.5.0 CATEGORIES= net @@ -8,15 +8,16 @@ MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.faradic.net/~jasta/programs.html COMMENT= simple client for the online mp3 community -DEPENDS+= gnome-core-[0-9]*:../../x11/gnome-core -BUILD_USES_MSGFMT= yes +BUILD_USES_MSGFMT= YES -USE_X11BASE= YES USE_GMAKE= YES -USE_LIBINTL= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_BUILDLINK_ONLY= YES GNU_CONFIGURE= YES +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../x11/gnome-core/buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/gnapster/distinfo b/net/gnapster/distinfo index 2ce9d8370e5..03dd4de43a2 100644 --- a/net/gnapster/distinfo +++ b/net/gnapster/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2001/11/27 16:20:05 wiz Exp $ +$NetBSD: distinfo,v 1.5 2001/12/12 18:25:39 wiz Exp $ SHA1 (gnapster-1.5.0.tar.gz) = 0e88422c9ed9f1882f7ef735357ad616a8d636e7 Size (gnapster-1.5.0.tar.gz) = 513813 bytes SHA1 (patch-aa) = b1d8bea52d7007d6d46e8a8792ea392da98b8693 SHA1 (patch-ab) = 2cf48c1860a663df6bb2283b76aa88e649f6479d +SHA1 (patch-ac) = 3a47607e74f16dd8bacbf8d062f091af3e7782cf diff --git a/net/gnapster/patches/patch-ac b/net/gnapster/patches/patch-ac new file mode 100644 index 00000000000..d32743adeef --- /dev/null +++ b/net/gnapster/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.5 2001/12/12 18:25:40 wiz Exp $ + +--- src/utils.c.orig Mon Jun 4 11:06:17 2001 ++++ src/utils.c +@@ -901,8 +901,10 @@ + + if (file) + d_msprintf(&path, "%s/.gnapster/%s/%s", getenv("HOME"), subdir, file); +- else ++ else if (subdir) + d_msprintf(&path, "%s/.gnapster/%s", getenv("HOME"), subdir); ++ else ++ d_msprintf(&path, "%s/.gnapster", getenv("HOME")); + + return path; + } +@@ -1498,7 +1500,7 @@ + + relocate_config(home); + +- path = local_path("", NULL); ++ path = local_path(NULL, NULL); + if (stat(path, &st) < 0) + if (mkdir(path, 0755) < 0) + fprintf(stderr, "Could not create ~/.gnapster directory...functionality may be limited\n"); |