Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37801595
en ru br
ALT Linux repos
5.0: 1.0.1-alt1
4.1: 1.0.1-alt1
4.0: 1.0.1-alt1

Group :: Publishing
RPM: splix

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: splix-1.0.1-alt-build.patch
Download


diff -Naur splix-1.0.1.orig/src/Makefile splix-1.0.1/src/Makefile
--- splix-1.0.1.orig/src/Makefile	2007-02-04 04:44:20 +0300
+++ splix-1.0.1/src/Makefile	2007-11-06 16:27:28 +0300
@@ -5,7 +5,7 @@
 #
 
 CXXFLAGS	+= -I../include -Wall -g -O0
-LDFLAGS		+= -lcups -lcupsimage
+LDLIBS		+= -lcups -lcupsimage
 
 OBJECTS		:= spl2.o printer.o band.o compress.o bandanalyser.o
 HEADERS		:= include/spl2.h include/document.h include/printer.h \
@@ -15,10 +15,10 @@
 
 all: rastertospl2
 rastertospl2: $(OBJECTS) rastertospl2.o raster.o
-	$(CXX) $(LDFLAGS) -o $@ $^
+	$(CXX) -o $@ $^ $(LDLIBS)
 
 pbmtospl2: $(OBJECTS) pbmtospl2.o pbmimage.o
-	$(CXX) $(LDFLAGS) -o $@ $^
+	$(CXX) -o $@ $^ $(LDLIBS)
 
 %.o: %.cpp $(HEADERS)
 	$(CXX) $(CXXFLAGS) -c $<
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin