pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/emacs25



Module Name:    pkgsrc
Committed By:   leot
Date:           Sat Oct 27 20:36:51 UTC 2018

Modified Files:
        pkgsrc/editors/emacs25: Makefile distinfo
Added Files:
        pkgsrc/editors/emacs25/patches: patch-configure patch-configure.ac

Log Message:
emacs25: Do not (manually) inject X11 LDFLAGS via configure

On NetBSD and OpenBSD the configure script injects LD_SWITCH_X_SITE_RPATH
(e.g.  `-Wl,-rpath,/usr/X11R7/lib') early as LDFLAGS leading to link with
possible X11 native libraries when it is not requested.

Should fix PR pkg/53688.

Bump PKGREVISION

Thanks to <maya> for debug-fu help!


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/editors/emacs25/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/editors/emacs25/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/emacs25/patches/patch-configure \
    pkgsrc/editors/emacs25/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs25/Makefile
diff -u pkgsrc/editors/emacs25/Makefile:1.20 pkgsrc/editors/emacs25/Makefile:1.21
--- pkgsrc/editors/emacs25/Makefile:1.20        Fri Jul 20 03:34:11 2018
+++ pkgsrc/editors/emacs25/Makefile     Sat Oct 27 20:36:50 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2018/07/20 03:34:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.21 2018/10/27 20:36:50 leot Exp $
 
 CONFLICTS+=    emacs25-nox11-[0-9]*
 
-PKGREVISION= 9
+PKGREVISION= 10
 .include "../../editors/emacs25/Makefile.common"
 
 .include "options.mk"

Index: pkgsrc/editors/emacs25/distinfo
diff -u pkgsrc/editors/emacs25/distinfo:1.8 pkgsrc/editors/emacs25/distinfo:1.9
--- pkgsrc/editors/emacs25/distinfo:1.8 Fri Apr 13 16:37:35 2018
+++ pkgsrc/editors/emacs25/distinfo     Sat Oct 27 20:36:50 2018
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.8 2018/04/13 16:37:35 dholland Exp $
+$NetBSD: distinfo,v 1.9 2018/10/27 20:36:50 leot Exp $
 
 SHA1 (emacs-25.3.tar.gz) = 82ad18404d460e32be29aa883a0e6bfc1901ae75
 RMD160 (emacs-25.3.tar.gz) = 8740bb96aeab77cd35c6d4625f3676991281c7bc
 SHA512 (emacs-25.3.tar.gz) = cd3f51ee5f6c95481f22cd48abfe1d4df1407207ed4b046c9563b24d524f85aa80f15900755091d532c31ea9bd9f6978300128c480d74d28b6b937f96846b1bb
 Size (emacs-25.3.tar.gz) = 62988771 bytes
+SHA1 (patch-configure) = ceb64518bd90b9c6dbd46174ad19e540b5ea96ed
+SHA1 (patch-configure.ac) = 232c4466c7de759881169c7016b07537043a6d54
 SHA1 (patch-src_editfns.c) = 9cb6458e58749780e06d90f111368421212a2987
 SHA1 (patch-src_inotify.c) = 1fdc6566ed57e8418f1ddc85bb03518d7d9d6bb3
 SHA1 (patch-src_lread.c) = a1edaea258b00ba10c176a8ad27711dcac1af7c1

Added files:

Index: pkgsrc/editors/emacs25/patches/patch-configure
diff -u /dev/null pkgsrc/editors/emacs25/patches/patch-configure:1.1
--- /dev/null   Sat Oct 27 20:36:51 2018
+++ pkgsrc/editors/emacs25/patches/patch-configure      Sat Oct 27 20:36:50 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2018/10/27 20:36:50 leot Exp $
+
+Do not inject X11 LDFLAGS, pkgsrc handles that.
+Fixes PR pkg/53688.
+
+--- configure.orig     2017-09-11 17:28:38.000000000 +0000
++++ configure
+@@ -9549,7 +9549,8 @@ ac_link="$ac_link $LD_SWITCH_SYSTEM"
+ ## LD_SWITCH_SYSTEM_TEMACS.
+ case "$opsys" in
+   netbsd|openbsd)
+-   LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;;
++### This is handled by pkgsrc.
++###   LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;;
+ esac
+ 
+ 
Index: pkgsrc/editors/emacs25/patches/patch-configure.ac
diff -u /dev/null pkgsrc/editors/emacs25/patches/patch-configure.ac:1.1
--- /dev/null   Sat Oct 27 20:36:51 2018
+++ pkgsrc/editors/emacs25/patches/patch-configure.ac   Sat Oct 27 20:36:50 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure.ac,v 1.1 2018/10/27 20:36:50 leot Exp $
+
+Do not inject X11 LDFLAGS, pkgsrc handles that.
+Fixes PR pkg/53688.
+
+--- configure.ac.orig  2017-09-11 16:55:00.000000000 +0000
++++ configure.ac
+@@ -1383,7 +1383,8 @@ ac_link="$ac_link $LD_SWITCH_SYSTEM"
+ ## LD_SWITCH_SYSTEM_TEMACS.
+ case "$opsys" in
+   netbsd|openbsd)
+-   LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;;
++### This is handled by pkgsrc.
++###   LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;;
+ esac
+ 
+ 



Home | Main Index | Thread Index | Old Index