rendered paste body#! /bin/sh /usr/share/dpatch/dpatch-run
## ubuntu_01_debianisation.dpatch by <kenny@duffus.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: initial debianisation
@DPATCH@
--- afflib-1.6.27.orig/Makefile.defs 2006-06-13 19:08:27.000000000 +0100
+++ afflib-1.6.27/Makefile.defs 2006-07-05 10:34:26.000000000 +0100
@@ -11,8 +11,8 @@
# Global defines
-INCDIRS = -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib
-LIBDIRS = -L/usr/local/ssl/lib -I/usr/sfw/lib -L.
+INCDIRS = -I/usr/include/ssl -I. -Ilib
+LIBDIRS = -L/usr/lib/ssl -L.
LIBS = -lz -lcrypto
--- afflib-1.6.27.orig/Makefile 2006-06-13 19:08:27.000000000 +0100
+++ afflib-1.6.27/Makefile 2006-07-04 16:48:40.000000000 +0100
@@ -28,9 +28,9 @@
RELEASE_LOC := public_html/afflib/downloads/
RELEASE_VER := http://www.afflib.org/downloads/version.txt
-INSTALL_TOOLDIR ?= /usr/local/bin
-INSTALL_LIBDIR ?= /usr/local/lib
-INSTALL_INCDIR ?= /usr/local/include
+INSTALL_TOOLDIR ?= $(DESTDIR)/usr/bin
+INSTALL_LIBDIR ?= $(DESTDIR)/usr/lib
+INSTALL_INCDIR ?= $(DESTDIR)/usr/include
all: all_targets
@@ -61,6 +61,7 @@
lib: $(AFFLIB)
install: $(AIMAGE_TARGETS) $(AFFTOOLS_TARGETS)
+ install -d $(INSTALL_TOOLDIR) $(INSTALL_LIBDIR) $(INSTALL_INCDIR)
install $(AIMAGE_TARGETS) $(AFFTOOLS_TARGETS) $(INSTALL_TOOLDIR)
install $(AFFLIB) $(INSTALL_LIBDIR)/libafflib.a
ranlib $(INSTALL_LIBDIR)/libafflib.a # sometimes a second is needed