1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/astro/gpsd/files/patch-SConstruct
Dmitry Marakasov e987d2ef45 - Update to 3.14
Submitted by:	glebius (maintainer)
2015-05-19 21:27:03 +00:00

20 lines
719 B
Plaintext

--- SConstruct.orig 2015-03-14 11:24:41 UTC
+++ SConstruct
@@ -305,16 +305,6 @@ def installdir(dir, add_destdir=True):
wrapped.replace("/usr/lib/systemd", "/lib/systemd")
return wrapped
-# Honor the specified installation prefix in link paths.
-if env["sysroot"]:
- env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir', add_destdir=False)])
-
-# Don't hack RPATH unless libdir points somewhere that is not on the
-# minimum default load path.
-if env["shared"]:
- if env["libdir"] not in ["/usr/lib", "/lib"]:
- env.Prepend(RPATH=[installdir('libdir')])
-
# Give deheader a way to set compiler flags
if 'MORECFLAGS' in os.environ:
env.Append(CFLAGS=Split(os.environ['MORECFLAGS']))