Bug 3736 - fax2ps generated by port graphics/tiff34 won't work
Summary: fax2ps generated by port graphics/tiff34 won't work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1997-06-01 03:10 UTC by Jun-ichiro itojun Hagino
Modified: 1997-06-03 08:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jun-ichiro itojun Hagino 1997-06-01 03:10:01 UTC
port graphics/tiff34 generates several binary tools.
in Makefile, path to shared library is specified by relative path.
Because of that,

Fix: 

trying to... (I'm the maintener)
How-To-Repeat: just invoke
/usr/local/bin/fax2ps
Comment 1 Jun-ichiro itojun Hagino 1997-06-01 04:20:10 UTC
	sorry, the category should be "ports", not "bin".
	Here's a patch to fix this problem.
	sorry for your troubles.

itojun


---
diff -ur tiff34.old/patches/patch-aa tiff34/patches/patch-aa
--- tiff34.old/patches/patch-aa	Sun Jun  1 12:16:51 1997
+++ tiff34/patches/patch-aa	Sun Jun  1 12:16:18 1997
@@ -133,8 +133,24 @@
  	    mkversion version.h \
 -	    libtiff.a libtiff.@DSOSUF@ libtiff.@DSOSUF_VERSION@ *dso
 +	    libtiff34.a libtiff34.@DSOSUF@ libtiff34.@DSOSUF_VERSION@ *dso
---- ./tools/Makefile.in.orig	Tue Apr 30 07:16:37 1996
-+++ ./tools/Makefile.in	Sun May 25 22:37:20 1997
+--- ./configure.orig	Tue Apr 30 07:16:17 1996
++++ ./configure	Sun May 25 22:37:20 1997
+@@ -1140,6 +1140,13 @@
+ 	DSOOPTS='-shared'
+ 	DSO=OSF
+ 	;;
++    *-freebsd*)
++	DSOSUF=so
++	DSOSUF_VERSION=${DSOSUF}.1.0
++	LIBCOPTS='-fpic -DPIC'
++	DSOOPTS='-Bshareable'
++	DSO=FREEBSD
++	;;
+     *)  DSO=no;;
+     esac
+     test -z "$DSOSUF_VERSION" && DSOSUF_VERSION=${DSOSUF}
+--- tools/Makefile.in.orig	Tue Apr 30 07:16:37 1996
++++ tools/Makefile.in	Sun Jun  1 12:09:32 1997
 @@ -43,14 +43,14 @@
  INSTALL	= @INSTALL@
  #
@@ -150,23 +166,7 @@
  LIBJPEG	= @LIBJPEG@
  LIBGZ	= @LIBGZ@
 -LIBS	= ${LIBTIFF} ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@
-+LIBS	= ${LIBTIFF} ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@ -ltiff34
++LIBS	= ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@ -ltiff34
  #
  OBJS=	\
  	fax2tiff.o \
---- ./configure.orig	Tue Apr 30 07:16:17 1996
-+++ ./configure	Sun May 25 22:37:20 1997
-@@ -1140,6 +1140,13 @@
- 	DSOOPTS='-shared'
- 	DSO=OSF
- 	;;
-+    *-freebsd*)
-+	DSOSUF=so
-+	DSOSUF_VERSION=${DSOSUF}.1.0
-+	LIBCOPTS='-fpic -DPIC'
-+	DSOOPTS='-Bshareable'
-+	DSO=FREEBSD
-+	;;
-     *)  DSO=no;;
-     esac
-     test -z "$DSOSUF_VERSION" && DSOSUF_VERSION=${DSOSUF}
Comment 2 asami 1997-06-01 10:18:46 UTC
 * 	sorry, the category should be "ports", not "bin".

Fixed.  (Although the subject of this message may not say so...I'm too 
afraid to edit the subject manually.)

 * 	Here's a patch to fix this problem.
 * 	sorry for your troubles.

Thanks, will commit tomorrow.  By the way, I'd appreciate it if you
take a good look at the patch before sending it over.

One of the changes is just "diff -r" deciding to check files in
different order, right?  I'm just going to commit the tools/Makefile.in
changes.

Satoshi
Comment 3 Satoshi Asami freebsd_committer freebsd_triage 1997-06-01 11:04:44 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports

Wrong category, should have been "ports" in the first place. 
Comment 4 Satoshi Asami freebsd_committer freebsd_triage 1997-06-03 08:04:53 UTC
State Changed
From-To: open->closed