diff options
author | gdt <gdt@pkgsrc.org> | 2015-09-26 23:29:13 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2015-09-26 23:29:13 +0000 |
commit | e412e9a6371939a2548b5323ae9e9baa6e3611f2 (patch) | |
tree | fec4e513195fd0c9493d150dc54fe12f1c8f363e /mail/mopher | |
parent | 1eec0ee32e3dda3716ea1790e37a4884784a59a6 (diff) | |
download | pkgsrc-e412e9a6371939a2548b5323ae9e9baa6e3611f2.tar.gz |
Drop use of objcopy (because it's nonportable and not really necessary).
From Petar Bogdanovic in private mail.
Diffstat (limited to 'mail/mopher')
-rw-r--r-- | mail/mopher/Makefile | 5 | ||||
-rw-r--r-- | mail/mopher/distinfo | 4 | ||||
-rw-r--r-- | mail/mopher/patches/patch-configure | 17 | ||||
-rw-r--r-- | mail/mopher/patches/patch-src_Makefile.in | 14 |
4 files changed, 36 insertions, 4 deletions
diff --git a/mail/mopher/Makefile b/mail/mopher/Makefile index b44d76da70c..f470e497c17 100644 --- a/mail/mopher/Makefile +++ b/mail/mopher/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2015/09/16 11:18:54 gdt Exp $ +# $NetBSD: Makefile,v 1.5 2015/09/26 23:29:13 gdt Exp $ DISTNAME= mopher-0.5.3 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://mopher.org/download/ @@ -27,8 +28,6 @@ HAS_CONFIGURE= yes USE_LANGUAGES= c USE_TOOLS+= lex USE_TOOLS+= yacc -# objcopy is not a tool (but maybe it should be) -#USE_TOOLS+= objcopy CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} diff --git a/mail/mopher/distinfo b/mail/mopher/distinfo index 89f8c4908cf..37713dc0d46 100644 --- a/mail/mopher/distinfo +++ b/mail/mopher/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2015/02/27 12:18:21 gdt Exp $ +$NetBSD: distinfo,v 1.4 2015/09/26 23:29:13 gdt Exp $ SHA1 (mopher-0.5.3.tar.gz) = 1099f8a59a99eab69f8c77612a7e437f37d1bd27 RMD160 (mopher-0.5.3.tar.gz) = a25468b4ed32ca953a0642123b41b0fe1cb0be9a Size (mopher-0.5.3.tar.gz) = 198633 bytes +SHA1 (patch-configure) = fef08e200c37a09dce9e955cc5a9617ff77e73d9 +SHA1 (patch-src_Makefile.in) = 39a830da027332e0f2e1f26821c86fbd6d18efbf diff --git a/mail/mopher/patches/patch-configure b/mail/mopher/patches/patch-configure new file mode 100644 index 00000000000..3fbd26fb640 --- /dev/null +++ b/mail/mopher/patches/patch-configure @@ -0,0 +1,17 @@ +$NetBSD: patch-configure,v 1.1 2015/09/26 23:29:13 gdt Exp $ + +Use of objcopy may be patched away, discussed with upstream. + +--- configure.orig 2015-02-26 16:52:11.000000000 +0000 ++++ configure +@@ -3184,10 +3184,6 @@ $as_echo "no" >&6; } + fi + + +-if test -z "$OBJCOPY" +-then +- as_fn_error $? "objcopy not found. Make sure you have GNU binutils installed." "$LINENO" 5 +-fi + + # check for install + # Extract the first word of "install", so it can be a program name with args. diff --git a/mail/mopher/patches/patch-src_Makefile.in b/mail/mopher/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..91a9d5b6fdf --- /dev/null +++ b/mail/mopher/patches/patch-src_Makefile.in @@ -0,0 +1,14 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2015/09/26 23:29:13 gdt Exp $ + +Use of objcopy may be patched away, discussed with upstream. + +--- src/Makefile.in.orig 2015-02-26 16:38:41.000000000 +0000 ++++ src/Makefile.in +@@ -93,6 +93,4 @@ $(OUT_D): $(OUT_C) + .c.o: + @CC@ -c $(CFLAGS) $(CFLAGS.$@) $< -o $@ + .conf.o: +- @LD@ -r -b binary -o $@ $> $^ +- @OBJCOPY@ --rename-section \ +- .data=.rodata,alloc,load,readonly,data,contents $@ $@ ++ @LD@ -r -b binary -o $@ $< |