diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-18 13:15:56 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-18 13:15:56 +0000 |
commit | 07eab871a2285462e170fcc6a4a8491b2b2ccd07 (patch) | |
tree | ac453ee375740b25ef73f0527769d4b4fc9679cd /media-libs/libpng | |
parent | remove xpm dependency and fix up ChangeLog (diff) | |
download | historical-07eab871a2285462e170fcc6a4a8491b2b2ccd07.tar.gz historical-07eab871a2285462e170fcc6a4a8491b2b2ccd07.tar.bz2 historical-07eab871a2285462e170fcc6a4a8491b2b2ccd07.zip |
kaali's fixes to the symlinks
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.2.2.ebuild | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog index 123ce467c611..49852855fd34 100644 --- a/media-libs/libpng/ChangeLog +++ b/media-libs/libpng/ChangeLog @@ -6,7 +6,10 @@ 16 Apr 2002; Seemant Kulleen <seemant@gentoo.org> - Quick version update (new version fixes many bugs; whatever) + Quick version update (new version fixes many bugs; whatever). Kaali in + #gentoo is to be thanked for finding the two bogus symlinks that the make + install process installs. Those are fixed with the two dosym operations + in src_install() *libpng-1.0.12-r1 and libpng-1.2.1-r1 (13 April 2002) diff --git a/media-libs/libpng/libpng-1.2.2.ebuild b/media-libs/libpng/libpng-1.2.2.ebuild index 0698dc64b9f4..12b410deae96 100644 --- a/media-libs/libpng/libpng-1.2.2.ebuild +++ b/media-libs/libpng/libpng-1.2.2.ebuild @@ -12,6 +12,9 @@ SLOT="1.2" DEPEND=">=sys-libs/zlib-1.1.4" src_compile() { + + libtoolize --copy --force + sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \ -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \ -e "s:prefix=/usr:prefix=${D}/usr:" -e "s/-O3/${CFLAGS}/" \ @@ -25,6 +28,10 @@ src_install() { make \ prefix=${D}/usr \ install || die + + rm ${D}/usr/include/libpng ${D}/usr/lib/libpng.a + dosym /usr/include/libpng12 /usr/include/libpng + dosym /usr/lib/libpng.a /usr/lib/libpng12.a doman *.[35] dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO |