aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bsdmake.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bsdmake.rb')
-rw-r--r--Library/Formula/bsdmake.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/bsdmake.rb b/Library/Formula/bsdmake.rb
index e3fd5113e..3c6d4f843 100644
--- a/Library/Formula/bsdmake.rb
+++ b/Library/Formula/bsdmake.rb
@@ -32,7 +32,7 @@ class Bsdmake < Formula
'@PREFIX@', prefix
# X11 path shouldn't be munged
- inreplace 'mk/sys.mk', '@PREFIX@', '/usr/X11'
+ inreplace 'mk/sys.mk', '@PREFIX@', MacOS.x11_prefix
inreplace 'mk/bsd.own.mk' do |s|
s.gsub! '@INSTALL_USER@', `id -un`.chomp