Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,102
    • Issues 2,102
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #37356
Closed
Open
Issue created Jul 15, 2020 by FPC Admin account@fpc_adminOwner

Lazarus install directory cannot be customized

Original Reporter info from Mantis: DonAlfredo @DonAlfredo
  • Reporter name: Alfred

Description:

The Lazarus Makefile contains the following:

LAZARUS_INSTALL_DIR=$(INSTALL_PREFIX)/share/lazarus
INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man
ifneq ($(findstring $(OS_TARGET),win32 win64),)
LAZARUS_INSTALL_DIR=C:\lazarus
endif
ifneq ($(findstring $(OS_TARGET),freebsd),)
LAZARUS_INSTALL_DIR=/usr/local/lazarus
endif

As can be seen, the LAZARUS_INSTALL_DIR directive is hardcoded. It would be good to add something like this:

ifndef LAZARUS_INSTALL_DIR
....
endif

Additional information:

Perhaps the same is also valid for:
INSTALL_BASEDIR

Mantis conversion info:

  • Mantis ID: 37356
  • Version: 2.1 (SVN)
  • Fixed in revision: 63564 (#b6220372).
Assignee
Assign to
Time tracking