pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/samba4



Module Name:    pkgsrc
Committed By:   he
Date:           Tue Jun 21 09:47:49 UTC 2022

Modified Files:
        pkgsrc/net/samba4: hacks.mk

Log Message:
net/samba4: needs --without-pie on NetBSD/powerpc.

This is in contrast to ../net/samba which needs --disable-pie.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/samba4/hacks.mk

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

Modified files:

Index: pkgsrc/net/samba4/hacks.mk
diff -u pkgsrc/net/samba4/hacks.mk:1.1 pkgsrc/net/samba4/hacks.mk:1.2
--- pkgsrc/net/samba4/hacks.mk:1.1      Tue May 12 12:19:52 2015
+++ pkgsrc/net/samba4/hacks.mk  Tue Jun 21 09:47:49 2022
@@ -1,3 +1,8 @@
-# $NetBSD: hacks.mk,v 1.1 2015/05/12 12:19:52 ryoon Exp $
+# $NetBSD: hacks.mk,v 1.2 2022/06/21 09:47:49 he Exp $
 
-.include "../../net/samba/hacks.mk"
+# Enabling PIE results in a 'Unsupported relocation type 6 in non-PLT
+# relocations' error under NetBSD/macppc.
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
+PKG_HACKS+=            pie
+CONFIGURE_ARGS+=       --without-pie
+.endif



Home | Main Index | Thread Index | Old Index