diff options
author | knu <knu@FreeBSD.org> | 2002-09-20 15:25:59 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-20 15:25:59 +0800 |
commit | d6ee9696c1c0f9c1d9abe4915aadfdbe392eac5d (patch) | |
tree | 7b2f71b22d78eaf70f208b9b23fdd70a93596208 /graphics | |
parent | e4ffb38d428cf85bfa35f737562fc123a677f45c (diff) | |
download | freebsd-ports-gnome-d6ee9696c1c0f9c1d9abe4915aadfdbe392eac5d.tar.gz freebsd-ports-gnome-d6ee9696c1c0f9c1d9abe4915aadfdbe392eac5d.tar.zst freebsd-ports-gnome-d6ee9696c1c0f9c1d9abe4915aadfdbe392eac5d.zip |
Build image loader modules properly. They should be dynamic.
PR: ports/42969
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/imlib2/Makefile | 1 | ||||
-rw-r--r-- | graphics/imlib2/files/patch-loaders::Makefile.in | 51 | ||||
-rw-r--r-- | graphics/imlib2/pkg-plist | 20 |
3 files changed, 62 insertions, 10 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index 615b60d6bcda..914322ac186b 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -7,6 +7,7 @@ PORTNAME= imlib2 PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= enlightenment diff --git a/graphics/imlib2/files/patch-loaders::Makefile.in b/graphics/imlib2/files/patch-loaders::Makefile.in new file mode 100644 index 000000000000..11132fb7706a --- /dev/null +++ b/graphics/imlib2/files/patch-loaders::Makefile.in @@ -0,0 +1,51 @@ +--- loaders/Makefile.in.orig Fri Apr 26 08:45:29 2002 ++++ loaders/Makefile.in Fri Sep 20 04:20:42 2002 +@@ -108,39 +108,39 @@ + + jpeg_la_SOURCES = loader_jpeg.c + jpeg_la_LDFLAGS = -no-undefined -module -avoid-version +-jpeg_la_LIBADD = @JPEGLIBS@ -L$(top_builddir)/src -lImlib2 ++jpeg_la_LIBADD = @JPEGLIBS@ $(top_builddir)/src/libImlib2.la + + png_la_SOURCES = loader_png.c + png_la_LDFLAGS = -no-undefined -module -avoid-version +-png_la_LIBADD = @PNGLIBS@ -L$(top_builddir)/src -lImlib2 ++png_la_LIBADD = @PNGLIBS@ $(top_builddir)/src/libImlib2.la + + tiff_la_SOURCES = loader_tiff.c + tiff_la_LDFLAGS = -no-undefined -module -avoid-version +-tiff_la_LIBADD = @TIFFLIBS@ -L$(top_builddir)/src -lImlib2 ++tiff_la_LIBADD = @TIFFLIBS@ $(top_builddir)/src/libImlib2.la + + gif_la_SOURCES = loader_gif.c + gif_la_LDFLAGS = -no-undefined -module -avoid-version +-gif_la_LIBADD = @GIFLIBS@ -L$(top_builddir)/src -lImlib2 ++gif_la_LIBADD = @GIFLIBS@ $(top_builddir)/src/libImlib2.la + + pnm_la_SOURCES = loader_pnm.c + pnm_la_LDFLAGS = -no-undefined -module -avoid-version +-pnm_la_LIBADD = -L$(top_builddir)/src -lImlib2 ++pnm_la_LIBADD = $(top_builddir)/src/libImlib2.la + + argb_la_SOURCES = loader_argb.c + argb_la_LDFLAGS = -no-undefined -module -avoid-version +-argb_la_LIBADD = -L$(top_builddir)/src -lImlib2 ++argb_la_LIBADD = $(top_builddir)/src/libImlib2.la + + bmp_la_SOURCES = loader_bmp.c + bmp_la_LDFLAGS = -no-undefined -module -avoid-version +-bmp_la_LIBADD = -L$(top_builddir)/src -lImlib2 ++bmp_la_LIBADD = $(top_builddir)/src/libImlib2.la + + xpm_la_SOURCES = loader_xpm.c + xpm_la_LDFLAGS = -no-undefined -module -avoid-version +-xpm_la_LIBADD = -L$(top_builddir)/src -lImlib2 ++xpm_la_LIBADD = $(top_builddir)/src/libImlib2.la + + tga_la_SOURCES = loader_tga.c + tga_la_LDFLAGS = -no-undefined -module -avoid-version +-tga_la_LIBADD = -L$(top_builddir)/src -lImlib2 ++tga_la_LIBADD = $(top_builddir)/src/libImlib2.la + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = diff --git a/graphics/imlib2/pkg-plist b/graphics/imlib2/pkg-plist index 4e90605714b4..deed84cf0e5c 100644 --- a/graphics/imlib2/pkg-plist +++ b/graphics/imlib2/pkg-plist @@ -6,15 +6,15 @@ lib/libImlib2.so.1 lib/loaders/filter/bump_map.so lib/loaders/filter/colormod.so lib/loaders/filter/testfilter.so -lib/loaders/image/argb.a -lib/loaders/image/bmp.a -lib/loaders/image/gif.a -lib/loaders/image/jpeg.a -lib/loaders/image/png.a -lib/loaders/image/pnm.a -lib/loaders/image/tga.a -lib/loaders/image/tiff.a -lib/loaders/image/xpm.a -@dirrm lib/loaders/filter +lib/loaders/image/argb.so +lib/loaders/image/bmp.so +lib/loaders/image/gif.so +lib/loaders/image/jpeg.so +lib/loaders/image/png.so +lib/loaders/image/pnm.so +lib/loaders/image/tga.so +lib/loaders/image/tiff.so +lib/loaders/image/xpm.so @dirrm lib/loaders/image +@dirrm lib/loaders/filter @dirrm lib/loaders |