pkgsrc/x11/xpmroot/patches/patch-ab
rh 1d2dd7b71d Update xpmroot to 2.2.2. This package should now correctly link under ELF
systems.  There are no changes to the xpmroot program itself, really, but
since fvwm2 is now at version 2.2.2, there is no reason to fetch and keep
two distinct versions of the fwvm2 distfile.
1999-11-01 08:44:24 +00:00

16 lines
451 B
Text

$NetBSD: patch-ab,v 1.2 1999/11/01 08:44:26 rh Exp $
--- /dev/null Mon Nov 1 09:23:05 1999
+++ Makefile Mon Nov 1 09:34:50 1999
@@ -0,0 +1,11 @@
+CFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib -DVERSION=\"${VERSION}\"
+#CFLAGS+= -ggdb
+CFLAGS+= -O2
+
+all: xpmroot
+xpmroot: xpmroot.c
+ ${CC} ${CFLAGS} xpmroot.c -o xpmroot ${LDFLAGS} -lXpm -lX11
+
+install:
+ ${INSTALL_PROGRAM} xpmroot ${PREFIX}/bin
+ ${INSTALL_MAN} xpmroot.1 ${PREFIX}/man/man1