From bbaa6afe687e28cd996a5e6a051561062513d565 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 22 Nov 2026 21:15:17 +0100 Subject: Added birthday package from debian --- package/birthday/birthday.mk | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'package/birthday/birthday.mk') diff --git a/package/birthday/birthday.mk b/package/birthday/birthday.mk index 09c379d..c3d086e 100644 --- a/package/birthday/birthday.mk +++ b/package/birthday/birthday.mk @@ -1,17 +1,23 @@ -BIRTHDAY_VERSION=1.6.2-7 +BIRTHDAY_VERSION = 1.6.2-10 BIRTHDAY_SITE = https://salsa.debian.org/salvage-team/birthday/-/archive/debian/${BIRTHDAY_VERSION} BIRTHDAY_SOURCE = birthday-debian-${BIRTHDAY_VERSION}.tar.gz BIRTHDAY_LICENCE = BIRTHDAY_LICENCE_FILES = +# NOTE: do not pass $(TARGET_CONFIGURE_OPTS) here: it sets CFLAGS on the make +# command line, which overrides the package Makefile's own +# "CFLAGS=-O2 -D$(OS) ..." and drops -DUNIX. Without -DUNIX, deffname() in +# bdengine.c has no return statement -> undefined behaviour / segfault. define BIRTHDAY_BUILD_CMDS - (cd $(@D); \ - make ) + $(MAKE) -C $(@D) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) -DUNIX" \ + LDFLAGS="$(TARGET_LDFLAGS)" endef define BIRTHDAY_INSTALL_TARGET_CMDS - (cd $(@D); \ - make install DESTDIR=$(TARGET_DIR)) + $(INSTALL) -d $(TARGET_DIR)/usr/bin + $(TARGET_STRIP) $(@D)/birthday -o $(TARGET_DIR)/usr/bin/birthday endef $(eval $(generic-package)) -- cgit v1.2.3