Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2000 08:14:11 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19523: Update port: graphics/gd
Message-ID:  <20000626151411.3A9C537B6C8@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19523
>Category:       ports
>Synopsis:       Update port: graphics/gd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 26 08:20:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Support install macros

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/gd/patches/patch-ac graphics/gd/patches/patch-ac
--- /usr/ports/graphics/gd/patches/patch-ac	Fri Jun  9 21:07:49 2000
+++ graphics/gd/patches/patch-ac	Mon Jun 26 18:56:24 2000
@@ -3,7 +3,7 @@
 @@ -5,3 +5,3 @@
  #compiler; get gcc if you are still using it). 
 -COMPILER=gcc
-+COMPILER=${CC}
++#COMPILER=gcc
  
 @@ -9,3 +9,3 @@
  #for your system. 
@@ -66,7 +66,7 @@
 @@ -67,6 +79,6 @@
  
 -VERSION=1.8.1
-+VERSION=1.8.2
++SOVER=1
  
 -CC=$(COMPILER) $(INCLUDEDIRS)
 -LINK=$(CC) $(LIBDIRS) $(LIBS)
@@ -79,9 +79,9 @@
 +.SUFFIXES: .c .so .o
 +
 +.c.so:
-+	${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++	$(CC) -fpic -DPIC $(CFLAGS) -o $@ -c $<
 +
-+all: libgd.a libgd.so.1 $(PROGRAMS)
++all: libgd.a libgd.so.$(SOVER) $(PROGRAMS)
  
  install: libgd.a $(BIN_PROGRAMS)
 -	sh ./install-item 644 libgd.a $(INSTALL_LIB)/libgd.a
@@ -101,25 +101,25 @@
 -	sh ./install-item 644 gdfontmb.h $(INSTALL_INCLUDE)/gdfontmb.h
 -	sh ./install-item 644 gdfonts.h $(INSTALL_INCLUDE)/gdfonts.h
 -	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.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
-+	$(INSTALL) -c -m 755 gd2copypal $(INSTALL_BIN)/gd2copypal
-+	$(INSTALL) -c -m 755 gdparttopng $(INSTALL_BIN)/gdparttopng
-+	$(INSTALL) -c -m 755 webpng $(INSTALL_BIN)/webpng
-+	$(INSTALL) -c -m 755 bdftogd $(INSTALL_BIN)/bdftogd
-+	$(INSTALL) -c -m 644 gd.h $(INSTALL_INCLUDE)/gd.h
-+	$(INSTALL) -c -m 644 gdcache.h $(INSTALL_INCLUDE)/gdcache.h
-+	$(INSTALL) -c -m 644 gd_io.h $(INSTALL_INCLUDE)/gd_io.h
-+	$(INSTALL) -c -m 644 gdfontg.h $(INSTALL_INCLUDE)/gdfontg.h
-+	$(INSTALL) -c -m 644 gdfontl.h $(INSTALL_INCLUDE)/gdfontl.h
-+	$(INSTALL) -c -m 644 gdfontmb.h $(INSTALL_INCLUDE)/gdfontmb.h
-+	$(INSTALL) -c -m 644 gdfonts.h $(INSTALL_INCLUDE)/gdfonts.h
-+	$(INSTALL) -c -m 644 gdfontt.h $(INSTALL_INCLUDE)/gdfontt.h
++	${BSD_INSTALL_DATA} libgd.a $(INSTALL_LIB)/libgd.a
++	${BSD_INSTALL_DATA} libgd.so.$(SOVER) $(INSTALL_LIB)/libgd.so.$(SOVER)
++	ln -sf libgd.so.$(SOVER) $(INSTALL_LIB)/libgd.so
++	${BSD_INSTALL_PROGRAM} pngtogd $(INSTALL_BIN)/pngtogd
++	${BSD_INSTALL_PROGRAM} pngtogd2 $(INSTALL_BIN)/pngtogd2
++	${BSD_INSTALL_PROGRAM} gdtopng $(INSTALL_BIN)/gdtopng
++	${BSD_INSTALL_PROGRAM} gd2topng $(INSTALL_BIN)/gd2topng
++	${BSD_INSTALL_PROGRAM} gd2copypal $(INSTALL_BIN)/gd2copypal
++	${BSD_INSTALL_PROGRAM} gdparttopng $(INSTALL_BIN)/gdparttopng
++	${BSD_INSTALL_PROGRAM} webpng $(INSTALL_BIN)/webpng
++	${BSD_INSTALL_SCRIPT} bdftogd $(INSTALL_BIN)/bdftogd
++	${BSD_INSTALL_DATA} gd.h $(INSTALL_INCLUDE)/gd.h
++	${BSD_INSTALL_DATA} gdcache.h $(INSTALL_INCLUDE)/gdcache.h
++	${BSD_INSTALL_DATA} gd_io.h $(INSTALL_INCLUDE)/gd_io.h
++	${BSD_INSTALL_DATA} gdfontg.h $(INSTALL_INCLUDE)/gdfontg.h
++	${BSD_INSTALL_DATA} gdfontl.h $(INSTALL_INCLUDE)/gdfontl.h
++	${BSD_INSTALL_DATA} gdfontmb.h $(INSTALL_INCLUDE)/gdfontmb.h
++	${BSD_INSTALL_DATA} gdfonts.h $(INSTALL_INCLUDE)/gdfonts.h
++	${BSD_INSTALL_DATA} gdfontt.h $(INSTALL_INCLUDE)/gdfontt.h
  
 @@ -131,12 +150,15 @@
  
@@ -140,7 +140,7 @@
 +	$(AR) rc libgd.a $(OBJS)
  	-ranlib libgd.a
 +
-+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
++libgd.so.$(SOVER):   $(INCS) $(OBJS:.o=.so)
++	$(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS:.o=.so) $(LIBDIRS) $(LIBS)
++	ln -sf $@ libgd.so
  


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626151411.3A9C537B6C8>