[paketler-commits] r60064 - devel/system/base/hdparm
paketler-commits at pardus.org.tr
paketler-commits at pardus.org.tr
12 Şub 2009 Per 16:07:33 EET
Author: onur
Date: Thu Feb 12 16:07:32 2009
New Revision: 60064
Modified:
devel/system/base/hdparm/actions.py
devel/system/base/hdparm/pspec.xml
Log:
Fix CC CFLAGS LDFLAGS STRIP usage
Modified: devel/system/base/hdparm/actions.py
=================================================================
--- devel/system/base/hdparm/actions.py (original)
+++ devel/system/base/hdparm/actions.py Thu Feb 12 16:07:32 2009
@@ -1,7 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
-# Copyright 2005-2008 TUBITAK/UEKAE
+# Copyright 2005-2009 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
@@ -10,11 +10,12 @@
from pisi.actionsapi import get
def setup():
- pisitools.dosed("Makefile", "(?m)^(CC.*)gcc", r"\1" + get.CC())
- pisitools.dosed("Makefile", "(?m)^(CFLAGS)-02", r"%s" % get.CFLAGS())
+ pisitools.dosed("Makefile", "(?m)^(CC.*)gcc", r"\1%s" % get.CC())
+ pisitools.dosed("Makefile", "(?m)^(LDFLAGS.*)-s", r"\1%s" % get.LDFLAGS())
+ pisitools.dosed("Makefile", "(?m)^(CFLAGS.*)-O2", r"\1%s" % get.CFLAGS())
def build():
- autotools.make()
+ autotools.make('STRIP=: CC="%s"' % get.CC())
def install():
pisitools.dosbin("hdparm", "/sbin")
Modified: devel/system/base/hdparm/pspec.xml
=================================================================
--- devel/system/base/hdparm/pspec.xml (original)
+++ devel/system/base/hdparm/pspec.xml Thu Feb 12 16:07:32 2009
@@ -29,6 +29,13 @@
</Package>
<History>
+ <Update release="17">
+ <Date>2009-02-12</Date>
+ <Version>9.10</Version>
+ <Comment>Fix CC CFLAGS LDFLAGS STRIP usage</Comment>
+ <Name>Onur Küçük</Name>
+ <Email>onur at pardus.org.tr</Email>
+ </Update>
<Update release="16">
<Date>2009-02-12</Date>
<Version>9.10</Version>
Paketler-commits mesaj listesiyle ilgili
daha fazla bilgi