Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
TreeMaker
Make-some-build-options-configurable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Make-some-build-options-configurable.patch of Package TreeMaker
From: Aaron Puchert <aaronpuchert@alice-dsl.net> Date: Mon, 10 Apr 2023 23:16:41 +0200 Subject: [PATCH 20/20] Make some build options configurable Distributions will want to override the INSTALL_PREFIX without patching the Makefile, and OPTIONS allows passing additional compiler options. --- linux/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index d29dd3a..8355495 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -11,7 +11,7 @@ PROGRAM = TreeMaker # Installation directory prefix (usually /usr/local); by wxWidgets # convention for Unix, data files will always be created in a # subdirectory of $(INSTALL_PREFIX)/share -INSTALL_PREFIX = /usr/local +INSTALL_PREFIX ?= /usr/local ## Application name (part of the data files directory; by default ## "TreeMaker 5") OBSOLETE - must think of a smarter way #TM_APP_NAME_STR = "TreeMaker5" @@ -20,7 +20,7 @@ INSTALL_PREFIX = /usr/local ### The remaining lines should be ok #--- Compiling options -OPTIONS = +OPTIONS ?= OPTIONS += -DAPPNAME=\"$(TM_APP_NAME_STR)\" OPTIONS += -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)/\" # Temporary for experimental Linux development
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor