Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 23:53:14 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        <jseger@FreeBSD.org>
Cc:        <freebsd-ports@FreeBSD.org>
Subject:   [for review] installing lib/libjpeg.la in graphics/jpeg
Message-ID:  <20010822234506.Y1741-100000@olgeni.olgeni>

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

Hi!

This patch makes graphics/jpeg install the lib/libjpeg.la file, needed
to build some ports (notably some KDE applications).


diff -ruN --exclude CVS /usr/ports/graphics/jpeg/Makefile ./Makefile
--- /usr/ports/graphics/jpeg/Makefile	Sun May 27 00:30:53 2001
+++ ./Makefile	Tue Aug 21 20:50:28 2001
@@ -24,6 +24,9 @@
 MAN1=		cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1

 post-install:
+	@${INSTALL_DATA} ${WRKSRC}/libjpeg.la ${PREFIX}/lib/libjpeg.la
+	@${PERL} -pi -e "s@installed=no@installed=yes@g" \
+		 ${PREFIX}/lib/libjpeg.la
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/jpeg
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg
diff -ruN --exclude CVS /usr/ports/graphics/jpeg/pkg-plist ./pkg-plist
--- /usr/ports/graphics/jpeg/pkg-plist	Sun May 27 00:30:53 2001
+++ ./pkg-plist	Tue Aug 21 20:50:33 2001
@@ -8,6 +8,7 @@
 include/jmorecfg.h
 include/jpeglib.h
 lib/libjpeg.a
+lib/libjpeg.la
 lib/libjpeg.so
 lib/libjpeg.so.9
 %%PORTDOCS%%share/doc/jpeg/README



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?20010822234506.Y1741-100000>