summaryrefslogtreecommitdiff
path: root/libraries/FreeImage/Makefile.fip.DESTDIR.diff
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2011-10-21 08:28:56 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-21 15:59:19 -0200
commitee528f791ec6c6fbfefed97bf2187a77070999dd (patch)
tree83b3c7da6beafb4b80d0d0adba031189a5cd3de8 /libraries/FreeImage/Makefile.fip.DESTDIR.diff
parentec62b84c230945e348befbd3fbea93b83db33179 (diff)
downloadslackbuilds-ee528f791ec6c6fbfefed97bf2187a77070999dd.tar.gz
libraries/FreeImage: Updated for version 3.15.0 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/FreeImage/Makefile.fip.DESTDIR.diff')
-rw-r--r--libraries/FreeImage/Makefile.fip.DESTDIR.diff41
1 files changed, 0 insertions, 41 deletions
diff --git a/libraries/FreeImage/Makefile.fip.DESTDIR.diff b/libraries/FreeImage/Makefile.fip.DESTDIR.diff
deleted file mode 100644
index 4861adf272..0000000000
--- a/libraries/FreeImage/Makefile.fip.DESTDIR.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- FreeImage/Makefile.fip.orig 2009-09-07 01:09:47.000000000 -0500
-+++ FreeImage/Makefile.fip 2009-09-07 01:27:12.000000000 -0500
-@@ -15,16 +15,11 @@
-
- MODULES = $(SRCS:.c=.o)
- MODULES := $(MODULES:.cpp=.o)
--CFLAGS ?= -O3 -fexceptions -fvisibility=hidden
-+CFLAGS ?= -fexceptions -fvisibility=hidden
- CFLAGS += $(INCLUDE)
--CXXFLAGS ?= -O3 -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
-+CXXFLAGS ?= -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
- CXXFLAGS += $(INCLUDE)
-
--ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
-- CFLAGS += -fPIC
-- CXXFLAGS += -fPIC
--endif
--
- TARGET = freeimageplus
- STATICLIB = lib$(TARGET).a
- SHAREDLIB = lib$(TARGET)-$(VER_MAJOR).$(VER_MINOR).so
-@@ -62,11 +57,14 @@
- $(CC) -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES) $(LIBRARIES)
-
- install:
-- install -d $(INCDIR) $(INSTALLDIR)
-- install -m 644 -o root -g root $(HEADER) $(INCDIR)
-- install -m 644 -o root -g root $(HEADERFIP) $(INCDIR)
-- install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
-- install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
-+ install -d 755 $(DESTDIR)/$(INCDIR)
-+ install -m 644 $(HEADER) $(DESTDIR)/$(INCDIR)
-+ install -m 644 $(HEADERFIP) $(DESTDIR)/$(INCDIR)
-+ install -d 755 $(DESTDIR)/$(INSTALLDIR)
-+ install -m 644 $(STATICLIB) $(DESTDIR)/$(INSTALLDIR)
-+ install -m 755 $(SHAREDLIB) $(DESTDIR)/$(INSTALLDIR)
-+ cd $(DESTDIR)/$(INSTALLDIR) ; ln -sf $(SHAREDLIB) $(VERLIBNAME)
-+ cd $(DESTDIR)/$(INSTALLDIR) ; ln -sf $(VERLIBNAME) $(LIBNAME)
-
- clean:
- rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)