]> Pileus Git - ~andy/sunrise/blobdiff - net-print/lm1100/lm1100-1.0.2a.ebuild
net-print/lm1100 - use patch instead of sed
[~andy/sunrise] / net-print / lm1100 / lm1100-1.0.2a.ebuild
index b08ae1c97e67363b7e70bbd19b67d4e83a44a471..560b2a5a2944ef87db23d9ee8b6d0dbc43662e63 100644 (file)
@@ -22,8 +22,7 @@ src_unpack() {
        cd "${S}"
        epatch "${FILESDIR}/${P}-fix-compile-gcc-3.4.patch"
        epatch "${FILESDIR}/${P}-class.patch"
-       sed -i -e "/^CC/s/=.*/= $(tc-getCXX) ${CXXFLAGS}/" \
-               "${S}/Makefile" || die "sed failed."
+       epatch "${FILESDIR}/${P}-makefile.patch"
 }
 
 src_install() {