aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd2
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-07 01:39:06 +0800
committerwill <will@FreeBSD.org>2000-06-07 01:39:06 +0800
commit8c2a08dfc3c0f73956fffce9aa88441926478784 (patch)
tree8dc159d39aa95d98eb05d0af2f340124e9d1b5e4 /graphics/gd2
parentcacef76fb59b3a67436aeb1c53461bef824c8590 (diff)
downloadfreebsd-ports-gnome-8c2a08dfc3c0f73956fffce9aa88441926478784.tar.gz
freebsd-ports-gnome-8c2a08dfc3c0f73956fffce9aa88441926478784.tar.zst
freebsd-ports-gnome-8c2a08dfc3c0f73956fffce9aa88441926478784.zip
Change library number to gd.1 per porter's handbook.
PR: 19060 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Diffstat (limited to 'graphics/gd2')
-rw-r--r--graphics/gd2/files/patch-ac12
-rw-r--r--graphics/gd2/pkg-plist6
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/gd2/files/patch-ac b/graphics/gd2/files/patch-ac
index 824f82b59254..4dc61441a545 100644
--- a/graphics/gd2/files/patch-ac
+++ b/graphics/gd2/files/patch-ac
@@ -81,7 +81,7 @@
+.c.so:
+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
+
-+all: libgd.a libgd.so.0 $(PROGRAMS)
++all: libgd.a libgd.so.1 $(PROGRAMS)
install: libgd.a $(BIN_PROGRAMS)
- sh ./install-item 644 libgd.a $(INSTALL_LIB)/libgd.a
@@ -103,8 +103,8 @@
- sh ./install-item 644 gdfontt.h $(INSTALL_INCLUDE)/gdfontt.h
+ $(INSTALL) -c -m 644 libgd.a $(INSTALL_LIB)/libgd.a
+ $(INSTALL) -c -m 755 pngtogd $(INSTALL_BIN)/pngtogd
-+ $(INSTALL) -c -m 755 libgd.so.0 $(INSTALL_LIB)/libgd.so.0
-+ ln -sf libgd.so.0 $(INSTALL_LIB)/libgd.so
++ $(INSTALL) -c -m 755 libgd.so.1 $(INSTALL_LIB)/libgd.so.1
++ ln -sf libgd.so.1 $(INSTALL_LIB)/libgd.so
+ $(INSTALL) -c -m 755 pngtogd2 $(INSTALL_BIN)/pngtogd2
+ $(INSTALL) -c -m 755 gdtopng $(INSTALL_BIN)/gdtopng
+ $(INSTALL) -c -m 755 gd2topng $(INSTALL_BIN)/gd2topng
@@ -140,7 +140,7 @@
+ $(AR) rc libgd.a $(OBJS)
-ranlib libgd.a
+
-+libgd.so.0: $(INCS) $(OBJS:S/o$/so/g)
-+ $(CC) -shared -Wl,-x -Wl,-assert -Wl,pure-text -Wl,-soname,$@ -o $@ $(OBJS:S/o$/so/g) $(LIBDIRS) $(LIBS)
-+ ln -sf libgd.so.0 libgd.so
++libgd.so.1: $(INCS) $(OBJS:.o=.so)
++ $(CC) -shared -Wl,-x -Wl,-assert -Wl,pure-text -Wl,-soname,$@ -o $@ $(OBJS:.o=.so) $(LIBDIRS) $(LIBS)
++ ln -sf libgd.so.1 libgd.so
diff --git a/graphics/gd2/pkg-plist b/graphics/gd2/pkg-plist
index c9f2fb09760e..2f698a654f5f 100644
--- a/graphics/gd2/pkg-plist
+++ b/graphics/gd2/pkg-plist
@@ -16,7 +16,7 @@ include/gd/gdfonts.h
include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
-lib/libgd.so.0
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+lib/libgd.so.1
@dirrm include/gd
+@exec /sbin/ldconfig -m %B
+@unexec /sbin/ldconfig -R