Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37731516
en ru br
ALT Linux repos
S:2.3.3-alt1
5.0: 2.1.3-alt2
4.1: 2.1.3-alt2
4.0: 2.1.3-alt0.M40.2

Group :: System/Libraries
RPM: slang2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 010_demos_make.patch
Download


# Patch to fix paths so that a good Makefile is copied to 
# /usr/share/doc/libslang2-dev.
# 
# Debian-specific.
#  - amck, 2005-02-17
#
diff -ruN slang-2.1.3-old/demo/Makefile.in slang-2.1.3/demo/Makefile.in
--- slang-2.1.3-old/demo/Makefile.in	2005-02-07 06:03:28.000000000 +0000
+++ slang-2.1.3/demo/Makefile.in	2005-02-17 20:59:41.828038656 +0000
@@ -9,8 +9,8 @@
 #-----------------------------------------------------------------------------
 # Directory where the various libraries are located.
 #-----------------------------------------------------------------------------
-SLANG_INCLUDE = ../src#             location of slang.h
-SLANG_LIB = $(SLANG_INCLUDE)/$(ARCH)objs#     location of libslang.a
+SLANG_INCLUDE = /usr/include
+SLANG_LIB = /usr/lib/
 
 #---------------------------------------------------------------------------
 # Other libraries
@@ -36,10 +36,6 @@
 #---------------------------------------------------------------------------
 all: $(CONFIG_H) $(OTHERSTUFF)
 
-$(CONFIG_H) : $(SLANG_LIB)/libslang.a ../src/config.h
-	/bin/cp ../src/config.h $(CONFIG_H)
-$(SLANG_LIB)/libslang.a :
-	cd ../src; $(MAKE)
 #---------------------------------------------------------------------------
 # Housekeeping
 #---------------------------------------------------------------------------
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin