Explicitely build sxpm in app, after the new libXpm has been installed.

This makes sure it is linked against the new libXpm, not the existing
one in /usr/X11R6/lib which may reference to an old, incompatible libc.
ok tb@
This commit is contained in:
matthieu
2024-06-04 05:42:22 +00:00
parent 2877dc3d08
commit 572bde4175
3 changed files with 21 additions and 2 deletions

19
app/sxpm/Makefile Normal file
View File

@@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1 2024/06/04 05:42:22 matthieu Exp $
.include <bsd.xconf.mk>
PROG=sxpm
NOMAN=
CPPFLAGS+= -I${X11BASE}/include
LDADD+= -L${X11BASE}/lib -lXt -lX11 -lXext -lXpm
MANDIR= ${X11BASE}/man/man
obj: _xenocara_obj
.PATH.c: ${.CURDIR}/../../lib/libXpm/sxpm
.include <bsd.prog.mk>
.include <bsd.xorg.mk>