pkgsrc/lang/elk/patches/patch-am
seb 76aeaddfc5 Synchronize package version with reality: 3.0.3.
Regen the patches files (one file per patch).

Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc
(by way of patches/patch-af) adjusted.
Thanks to Nick for the helping hand and to Alistair for the previous work.
This should close PR 13527.

Make X11 support conditional by way if the ELK_USE_X11 variable.

I tried to enable Motif support: only Motif 1.X should work but
even with the lesstif12 package it does not - it does compile though.
So Motif support if commented out but leaved in case someone want to fix
ELK.
2002-01-09 23:04:52 +00:00

23 lines
738 B
Text

$NetBSD: patch-am,v 1.1 2002/01/09 23:04:57 seb Exp $
--- lib/xt/build.orig Tue Jul 18 13:21:52 1995
+++ lib/xt/build
@@ -97,15 +97,9 @@
mkdir $install_dir/runtime/obj; \\
fi
cp xt.pre $install_dir/runtime/obj/xt.o
- -@if [ ! -d $install_dir/include ]; then \\
- echo mkdir $install_dir/include; \\
- mkdir $install_dir/include; \\
- fi
- -@if [ ! -d $install_dir/include/extensions ]; then \\
- echo mkdir $install_dir/include/extensions; \\
- mkdir $install_dir/include/extensions; \\
- fi
- cp xt.h $install_dir/include/extensions
+ -@mkdir -p \${PREFIX}/include/elk/extensions
+ \${BSD_INSTALL_DATA} xt.h \${PREFIX}/include/elk/extensions
+
lint:
lint \$(LINTFLAGS) -I\$(INC) -I../xlib $x11_incl \$(C)