diff options
author | Zsolt Udvari <uzsolt@FreeBSD.org> | 2025-06-06 20:42:22 +0200 |
---|---|---|
committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2025-06-06 20:44:13 +0200 |
commit | 762351258c50e620406f38c52a46559abc6b5814 (patch) | |
tree | fde8f26a0160f69f51670d07c4139643420bfc83 /deskutils/pal/files/patch-src_Makefile.defs | |
parent | net-im/py-python-telegram-bot: update to version 21.11 (diff) |
deskutils/pal: Reset maintainer
While I'm here modernize a bit:
- add license informations
- switch to DISTVERSION
- use built-in install, remove do-install target
- regenerate patches
PR: 287207
Diffstat (limited to 'deskutils/pal/files/patch-src_Makefile.defs')
-rw-r--r-- | deskutils/pal/files/patch-src_Makefile.defs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/deskutils/pal/files/patch-src_Makefile.defs b/deskutils/pal/files/patch-src_Makefile.defs new file mode 100644 index 000000000000..4d33db6ce39f --- /dev/null +++ b/deskutils/pal/files/patch-src_Makefile.defs @@ -0,0 +1,29 @@ +--- src/Makefile.defs.orig 2025-06-06 18:04:30 UTC ++++ src/Makefile.defs +@@ -3,13 +3,13 @@ + + # directory to install to. Depending on your distribution, you might + # want to change this to /usr/local +-prefix = /usr +-CC = gcc ++prefix ?= /usr ++CC ?= gcc + + PAL_VERSION = 0.4.3 + + # used for portage, rpm, ... +-DESTDIR = ++DESTDIR ?= + + # optimizations/warnings + OPT = -O2 -Wall +@@ -23,6 +23,6 @@ endif + DEFS += -DG_DISABLE_DEPRECATED -DDEBUG + endif + +-CFLAGS = ${OPT} +-CPPFLAGS = ${INCLDIR} ${DEFS} +-LDFLAGS = ${LIBDIR} ${LIBS} ++CFLAGS ?= ${OPT} ++CPPFLAGS += ${INCLDIR} ${DEFS} ++LDFLAGS += ${LIBDIR} ${LIBS} |