LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lazarus-Makefile_patch.diff of Package lazarus (Project devel:languages:pascal)

--- lazarus/Makefile.fpc.orig	2012-06-24 15:22:41.000000000 -0400
+++ lazarus/Makefile.fpc	2012-09-23 00:18:28.000000000 -0400
@@ -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
@@ -244,8 +244,8 @@
 ifneq ($(findstring $(OS_TARGET),win32 win64),)
 
 else
-	$(MKDIR) $(INSTALL_PREFIX)/share
-	$(MKDIR) $(INSTALL_PREFIX)/share/lazarus
+	$(MKDIR) $(INSTALL_PREFIX)/$(_LIB)
+	$(MKDIR) $(INSTALL_PREFIX)/$(_LIB)/lazarus
 	$(MKDIR) $(INSTALL_BINDIR)
 	$(MKDIR) $(INSTALL_MAN_DIR)
 	$(MKDIR) $(INSTALL_MAN_DIR)/man1