From 70d5d372e5534a2d1f58025ea8a7d92fae60ad56 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 9 Jun 2014 21:28:28 +0200
Subject: Fix paths for Haiku port.


diff --git a/Makefile b/Makefile
index 099477d..ccff0e9 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ endif
 include $(NSBUILD)/Makefile.top
 
 # Extra installation rules
-I := /include
+I := /$(INCLUDEDIR)
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libnsgif.pc.in b/libnsgif.pc.in
index 3d85e6a..0255bf9 100644
--- a/libnsgif.pc.in
+++ b/libnsgif.pc.in
@@ -1,7 +1,7 @@
 prefix=PREFIX
 exec_prefix=${prefix}
 libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
 
 Name: libnsgif
 Description: Provides gif loading and conversion
-- 
1.8.3.4

