aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libafterimage/files
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-06-27 08:43:22 +0800
committerahze <ahze@FreeBSD.org>2005-06-27 08:43:22 +0800
commit4544ff9aff5cddb8d482882c940476282ef87321 (patch)
treeaf6883474a5b2509c1599ac8239579450242ba25 /graphics/libafterimage/files
parentfde84ae9726d4daf627a43f7b5d7a64b54a65391 (diff)
downloadfreebsd-ports-gnome-4544ff9aff5cddb8d482882c940476282ef87321.tar.gz
freebsd-ports-gnome-4544ff9aff5cddb8d482882c940476282ef87321.tar.zst
freebsd-ports-gnome-4544ff9aff5cddb8d482882c940476282ef87321.zip
- Update to 1.07 [1]
- Autodetect MMX PR: ports/82678 [1] Submitted by: Ports Fury [1
Diffstat (limited to 'graphics/libafterimage/files')
-rw-r--r--graphics/libafterimage/files/patch-Makefile.in117
-rw-r--r--graphics/libafterimage/files/patch-apps:Makefile.in17
-rw-r--r--graphics/libafterimage/files/patch-configure13
3 files changed, 59 insertions, 88 deletions
diff --git a/graphics/libafterimage/files/patch-Makefile.in b/graphics/libafterimage/files/patch-Makefile.in
index 02f7e16d5e3b..176b0c8635e6 100644
--- a/graphics/libafterimage/files/patch-Makefile.in
+++ b/graphics/libafterimage/files/patch-Makefile.in
@@ -1,17 +1,6 @@
---- Makefile.in.orig Tue Jan 15 21:53:17 2002
-+++ Makefile.in Mon Mar 22 15:04:58 2004
-@@ -14,6 +14,10 @@
- blender.o export.o import.o transform.o \
- ungif.o xcf.o ximage.o xpm.o
-
-+SOLIB_OBJS= @AFTERBASE_C@ ascmap.So asfont.So asimage.So asvisual.So \
-+ blender.So export.So import.So transform.So \
-+ ungif.So xcf.So ximage.So xpm.So
-+
- LIB_DOCS= afterimage.h ascmap.h asfont.h asimage.h asvisual.h \
- blender.h export.h import.h transform.h ximage.h
-
-@@ -47,7 +51,7 @@
+--- Makefile.in.orig Sat Jun 4 05:44:06 2005
++++ Makefile.in Thu Jun 9 17:41:53 2005
+@@ -78,7 +78,7 @@
MV = @MV@
RM = @RM@
RMF = @RM@ -f
@@ -20,7 +9,7 @@
FIND = @FIND@
XARGS = @XARGS@
LDCONFIG = @LDCONFIG@
-@@ -59,11 +63,11 @@
+@@ -91,16 +91,16 @@
LEXFLAGS =
INSTALL = @INSTALL@
@@ -37,74 +26,62 @@
INCS_EXTRA = @XPM_CFLAGS@ @JPEG_CFLAGS@ @PNG_CFLAGS@ @GIF_CFLAGS@ @TIFF_CFLAGS@ @TTF_INCLUDES@
INCS_X = @X_CFLAGS@
-@@ -79,7 +83,7 @@
- AFTER_MAN_DIR = @mandir@/man3
- AFTER_APP_MAN_DIR = @mandir@/man1
- AFTER_SHAREDIR = @datadir@/libAfterImage
+ INCS_PRIVATE =
+-INCLUDES = $(INCS_EXTRA) $(INCS_PRIVATE) $(INCS_X)
++INCLUDES = -I. $(INCS_EXTRA) $(INCS_PRIVATE) $(INCS_X)
+
+ USER_LD_FLAGS = @user_ldflags@
+ LIBS_X = @x_libs@
+@@ -119,7 +119,7 @@
+ AFTER_MAN_DIR = $(DESTDIR)@mandir@/man3
+ AFTER_APP_MAN_DIR = $(DESTDIR)@mandir@/man1
+ AFTER_SHAREDIR = $(DESTDIR)@datadir@/$(LIB_DIR_NAME)
-AFTER_DOC_DIR = $(AFTER_SHAREDIR)/doc
-+AFTER_DOC_DIR = @datadir@/doc/libAfterImage
++AFTER_DOC_DIR = $(DESTDIR)@datadir@//doc/libAfterImage
- all: @LIBPROG@ $(INSTALLONBUILD) apps
-
-@@ -111,10 +115,9 @@
+ # We want to build both static and dynamic libs, as some service apps may need
+ # static library as they gets run at compile time (ASDocGen for example)
+@@ -155,11 +155,10 @@
install.script:
install.dyn:
-- $(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR)
-+ $(INSTALL_LIB) $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)
- $(INSTALL_SCRIPT) afterimage-libs $(AFTER_BIN_DIR)
-- -@/bin/rm -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED)
-- ln -sf $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR)
-+ -@/bin/rm -f $(LIBDIR)/$(LIB_SHARED)
- ln -sf $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED)
- @( \
- if test `uname` = "Linux"; then \
-@@ -239,12 +242,17 @@
- $(AR) $(LIB_STATIC) $(LIB_OBJS)
- $(RANLIB) $(LIB_STATIC)
-
-+.SUFFIXES: .o .So
-+
- .c.o:
- $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
-
- .c.s:
- $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -S $*.c
-
-+.c.So:
-+ $(CC) $(CCFLAGS) -fPIC $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c -o $*.So
-+
- #
- # include dependency files if they exist
- #
-@@ -257,12 +265,9 @@
+- @( echo "$(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR)"; \
+- $(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR); \
++ @( echo "$(INSTALL_LIB) $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)"; \
++ $(INSTALL_LIB) $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR); \
+ $(INSTALL_SCRIPT) afterimage-libs afterimage-config $(AFTER_BIN_DIR); \
+- $(RM) -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \
+- $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR); \
++ $(RM) -f $(LIBDIR)/$(LIB_SHARED); \
+ $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \
+ if test `uname` = "Linux"; then \
+ if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \
+@@ -221,7 +220,7 @@
+ )
+
+ install.apps: install.lib
+- cd apps; make install; cd ..
++ cd apps; $(MAKE) install; cd ..
+
+ uninstall.bin:
+
+@@ -333,11 +332,8 @@
$(LIB_SHARED): $(LIB_SHARED).$(LIBVERMAJOR)
- ln -sf $(LIB_SHARED).$(LIBVERMAJOR) $(LIB_SHARED)
+ $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIB_SHARED)
-$(LIB_SHARED).$(LIBVERMAJOR): $(LIB_SHARED).$(LIBVER)
-- ln -sf $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
+- $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
-
-$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h
- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
-- $(LIB_OBJS)
-+$(LIB_SHARED).$(LIBVERMAJOR): $(SOLIB_OBJS) $(LIB_INCS) config.h
++$(LIB_SHARED).$(LIBVERMAJOR): $(LIB_OBJS) $(LIB_INCS) config.h
+ $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVERMAJOR) \
-+ $(SOLIB_OBJS)
-
- doc.xref: $(LIB_DOCS)
- SRCS=`echo "$(LIB_DOCS) " | sed "s/.h / /g"`; \
-@@ -307,8 +312,6 @@
+ $(LIB_OBJS)
- install.doc:
- SRCS=`echo "$(LIB_DOCS) " | sed "s/.h / /g"`; cd doc/html; \
-- echo "$(MKDIR) $(AFTER_SHAREDIR)"; \
-- $(MKDIR) $(AFTER_SHAREDIR); \
- echo "$(MKDIR) $(AFTER_DOC_DIR)"; \
- $(MKDIR) $(AFTER_DOC_DIR); \
- echo "$(MKDIR) $(AFTER_DOC_DIR)/html"; \
-@@ -318,7 +321,7 @@
- $(INSTALL_DATA) $$f $(AFTER_DOC_DIR)/html/$$f; \
- done; cd ../..;
+ install.man:
+@@ -364,7 +360,7 @@
+ cd ../..; \
+ fi
-install: install.lib install.man install.doc install.apps
+install: install.lib install.man install.apps
diff --git a/graphics/libafterimage/files/patch-apps:Makefile.in b/graphics/libafterimage/files/patch-apps:Makefile.in
index 811410e5da41..2a2ad2c70e01 100644
--- a/graphics/libafterimage/files/patch-apps:Makefile.in
+++ b/graphics/libafterimage/files/patch-apps:Makefile.in
@@ -1,13 +1,20 @@
---- apps/Makefile.in.orig Wed Jan 16 06:55:09 2002
-+++ apps/Makefile.in Thu Feb 28 06:28:56 2002
-@@ -19,8 +19,8 @@
+--- apps/Makefile.in.orig Mon Feb 28 23:52:47 2005
++++ apps/Makefile.in Thu Jun 9 16:36:08 2005
+@@ -13,14 +13,14 @@
+ MV = @MV@
+ RM = @RM@
+ RMF = @RM@ -f
+-MKDIR = @MKDIR@
++MKDIR = @MKDIR@ -p
+ FIND = @FIND@
+ XARGS = @XARGS@
LDCONFIG = @LDCONFIG@
INSTALL = @INSTALL@
--INSTALL_PROGRAM = @INSTALL@ -s -m 755
+-INSTALL_PROGRAM = @INSTALL@ -m 755
-INSTALL_DATA = @INSTALL@ -m 644
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
INCS_X = @X_CFLAGS@
- INCS_PRIVATE= @APPS_AFTERBASE_CFLAGS@ -I../..
+ INCS_PRIVATE =
diff --git a/graphics/libafterimage/files/patch-configure b/graphics/libafterimage/files/patch-configure
deleted file mode 100644
index 5be049807cab..000000000000
--- a/graphics/libafterimage/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig
-+++ configure
-@@ -4878,6 +4878,7 @@
- cat >conftest.$ac_ext <<_ACEOF
- #line 4879 "configure"
- #include "confdefs.h"
-+#include <ft2build.h>
- #include <freetype/freetype.h>
- int main(){FT_Face f; return 0;}
- _ACEOF