Xquartz: Don't hardcode libexec dir
(cherry picked from commit 67b479ef80cb740a24981335eb8d596744168a62)
This commit is contained in:
parent
c39212fd73
commit
cb0d7e2c26
|
@ -2118,7 +2118,6 @@ hw/xnest/Makefile
|
||||||
hw/xwin/Makefile
|
hw/xwin/Makefile
|
||||||
hw/xquartz/Makefile
|
hw/xquartz/Makefile
|
||||||
hw/xquartz/bundle/Makefile
|
hw/xquartz/bundle/Makefile
|
||||||
hw/xquartz/bundle/org.x.X11.plist
|
|
||||||
hw/xquartz/xpr/Makefile
|
hw/xquartz/xpr/Makefile
|
||||||
hw/kdrive/Makefile
|
hw/kdrive/Makefile
|
||||||
hw/kdrive/ati/Makefile
|
hw/kdrive/ati/Makefile
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
libexec_PROGRAMS = x11-exec
|
|
||||||
|
|
||||||
x11_exec_LDFLAGS = -framework ApplicationServices
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libXquartz.la
|
noinst_LTLIBRARIES = libXquartz.la
|
||||||
AM_CFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
|
AM_CFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
|
@ -13,6 +9,12 @@ AM_CPPFLAGS = \
|
||||||
|
|
||||||
if X11APP
|
if X11APP
|
||||||
X11APP_SUBDIRS = bundle
|
X11APP_SUBDIRS = bundle
|
||||||
|
|
||||||
|
if LAUNCHD
|
||||||
|
libexec_PROGRAMS = x11-exec
|
||||||
|
x11_exec_LDFLAGS = -framework ApplicationServices
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = . xpr $(X11APP_SUBDIRS)
|
SUBDIRS = . xpr $(X11APP_SUBDIRS)
|
||||||
|
|
|
@ -9,7 +9,14 @@ install-data-hook:
|
||||||
xcodebuild install DSTROOT="/$(DESTDIR)" INSTALL_PATH="$(APPLE_APPLICATIONS_DIR)" DEPLOYMENT_LOCATION=YES SKIP_INSTALL=NO ARCHS="$(X11APP_ARCHS)"
|
xcodebuild install DSTROOT="/$(DESTDIR)" INSTALL_PATH="$(APPLE_APPLICATIONS_DIR)" DEPLOYMENT_LOCATION=YES SKIP_INSTALL=NO ARCHS="$(X11APP_ARCHS)"
|
||||||
|
|
||||||
if LAUNCHD
|
if LAUNCHD
|
||||||
launchagents_DATA = org.x.X11.plist
|
launchagents_PRE = org.x.X11.plist.pre
|
||||||
|
launchagents_DATA = $(launchagents_PRE:plist.pre=plist)
|
||||||
|
|
||||||
|
CPP_FILES_FLAGS = -D__libexecdir__="${libexecdir}"
|
||||||
|
|
||||||
|
CLEANFILES = $(launchagents_DATA)
|
||||||
|
|
||||||
|
include $(top_srcdir)/cpprules.in
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<string>org.x.X11</string>
|
<string>org.x.X11</string>
|
||||||
<key>ProgramArguments</key>
|
<key>ProgramArguments</key>
|
||||||
<array>
|
<array>
|
||||||
<string>/usr/libexec/x11-exec</string>
|
<string>__libexecdir__/x11-exec</string>
|
||||||
<string>-launchd</string>
|
<string>-launchd</string>
|
||||||
</array>
|
</array>
|
||||||
<key>Sockets</key>
|
<key>Sockets</key>
|
Loading…
Reference in New Issue