You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lazarus/Makefile_patch.diff

32 lines
947 B

--- lazarus/Makefile.fpc 2017-10-18 09:51:34.000000000 +0200
+++ lazarus/Makefile.fpc.patched 2019-02-08 19:55:55.499867322 +0100
@@ -20,7 +20,7 @@
[install]
fpcpackage=n
-basedir=share/lazarus
+basedir=$(_LIB)/lazarus
[dist]
destdir=$(BASEDIR)/dist
@@ -28,7 +28,7 @@
[prerules]
RCPP?=$(strip $(firstword cpp$(SRCEXEEXT)))
#
-LAZARUS_INSTALL_DIR=$(INSTALL_PREFIX)/share/lazarus
+LAZARUS_INSTALL_DIR=$(INSTALL_PREFIX)/$(_LIB)/lazarus
INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man
ifneq ($(findstring $(OS_TARGET),win32 win64),)
LAZARUS_INSTALL_DIR=C:\lazarus
@@ -263,8 +263,9 @@
ifneq ($(findstring $(OS_TARGET),win32 win64),)
else
+ $(MKDIR) $(INSTALL_PREFIX)/$(_LIB)
+ $(MKDIR) $(INSTALL_PREFIX)/$(_LIB)/lazarus
$(MKDIR) $(INSTALL_PREFIX)/share
- $(MKDIR) $(INSTALL_PREFIX)/share/lazarus
$(MKDIR) $(INSTALL_PREFIX)/share/applications
$(MKDIR) $(INSTALL_PREFIX)/share/pixmaps
$(MKDIR) $(INSTALL_PREFIX)/share/mime/packages