Date: Sat, 5 Dec 1998 21:25:28 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: asami@FreeBSD.ORG Cc: ports@FreeBSD.ORG Subject: netpbm & tiff34 ports errors Message-ID: <19981205212528.A38726@nagual.pp.ru>
next in thread | raw e-mail | index | archive | help
netpbm port fails to link in -current because there is no -ljpeg supplied and some function from it used through libtiff. Maybe -ljpeg dependance should be writed somehow into libtiff.so.4 while linking, but I am not shure how. BTW, libtiff not link libtiff.so due to //usr/local/... path used (with two //) As workaround here is patch-ad replacement for netpbm (only -ljpeg added). --- pnm/Imakefile.orig Mon Feb 21 12:15:28 1994 +++ pnm/Imakefile Sat Dec 5 20:36:19 1998 @@ -18,9 +18,9 @@ #include <../Pbmplus.tmpl> #if BuildLibTiff - CURRENTLIBS = $(LIBTIFF) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) + CURRENTLIBS = $(LIBTIFF) -ljpeg $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) CURRENTDEPLIBS = $(DEPLIBTIFF) $(DEPLIBPNM) $(DEPLIBPPM) $(DEPLIBPGM) $(DEPLIBPBM) - INCLUDES = -I.. -I$(PBMDIR) -I$(PGMDIR) -I$(PPMDIR) -I$(TIFFDIR) + INCLUDES = -I.. -I$(PBMDIR) -I$(PGMDIR) -I$(PPMDIR) -I$(TIFFINCDIR) DEFINES = -DLIBTIFF MERGE = pnmmerge TIFFMAN1 = tifftopnm.1 pnmtotiff.1 @@ -60,6 +60,7 @@ pnmtoddif.c pnmtofits.c pnmtops.c pnmtorast.c pnmtosgi.c \ pnmtosir.c pnmtoxwd.c \ rasttopnm.c sgitopnm.c sirtopnm.c xwdtopnm.c zeisstopnm.c \ + pnmgamma.c pnmrotate.c pnmshear.c \ $(TIFFSRCS) OBJS = fitstopnm.o giftopnm.o \ @@ -70,6 +71,7 @@ pnmtoddif.o pnmtofits.o pnmtops.o pnmtorast.o pnmtosgi.o \ pnmtosir.o pnmtoxwd.o \ rasttopnm.o sgitopnm.o sirtopnm.o xwdtopnm.o zeisstopnm.o \ + pnmgamma.o pnmrotate.o pnmshear.o \ $(TIFFOBJS) BINS = fitstopnm giftopnm \ @@ -80,6 +82,7 @@ pnmtoddif pnmtofits pnmtops pnmtorast pnmtosgi \ pnmtosir pnmtoxwd \ rasttopnm sgitopnm sirtopnm xwdtopnm zeisstopnm \ + pnmgamma pnmrotate pnmshear \ $(TIFFBINS) includes:: anytopnm.script pnmindex.script pnmmargin.script pnmsmooth.script \ @@ -165,9 +168,9 @@ #endif #if InstallManuals -InstallMultipleMan($(MAN1),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1) -InstallMultipleMan($(MAN3),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3) -InstallMultipleMan($(MAN5),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5) +InstallMultipleManSuff($(MAN1),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1,1) +InstallMultipleManSuff($(MAN3),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3,3) +InstallMultipleManSuff($(MAN5),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5,5) #endif #if InstallLibraries -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y 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?19981205212528.A38726>