mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Build image loader modules properly. They should be dynamic.
PR: ports/42969 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
276f00126e
commit
4ede99d258
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66811
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= imlib2
|
||||
PORTVERSION= 1.0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= enlightenment
|
||||
|
51
graphics/imlib2/files/patch-loaders::Makefile.in
Normal file
51
graphics/imlib2/files/patch-loaders::Makefile.in
Normal file
@ -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 =
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user