Group :: System/Libraries
RPM: slang2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 010_demos_make.patch
Download
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
#---------------------------------------------------------------------------