pkgsrc/lang/elk/patches/patch-al
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

22 lines
740 B
Text

$NetBSD: patch-al,v 1.3 2002/01/09 23:04:56 seb Exp $
--- lib/xlib/build.orig Tue Jul 18 13:19:11 1995
+++ lib/xlib/build
@@ -117,15 +117,8 @@
mkdir $install_dir/runtime/obj; \\
fi
cp xlib.pre $install_dir/runtime/obj/xlib.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 xlib.h $install_dir/include/extensions
+ -@mkdir -p \${PREFIX}/include/elk/extensions
+ \${BSD_INSTALL_DATA} xlib.h \${PREFIX}/include/elk/extensions
lint:
lint \$(LINTFLAGS) -I\$(INC) $x11_incl \$(C)