You are not logged in.

#1 2009-05-19 19:03:29

vit
Member
Registered: 2008-12-28
Posts: 79

Not all PKGBUILDS use makepkg.conf

When bulding some packages (smplayer-svn, arora-git, qtscriptgenerator-git, qmpdclient - that's what i notticed) makepkg.conf doesn't influence.
For example for smplayer-svn I have:

g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DDOWNLOAD_SUBS -DDATA_PATH=\"/usr/share/smplayer\" -DDOC_PATH=\"/usr/share/doc/packages/smplayer\" -DTRANSLATION_PATH=\"/usr/share/smplayer/translations\" -DTHEMES_PATH=\"/usr/share/smplayer/themes\" -DSHORTCUTS_PATH=\"/usr/share/smplayer/shortcuts\" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -Ifindsubtitles -Ivideopreview -Impcgui -Ifindsubtitles/filedownloader -Ifindsubtitles/quazip -I.moc -I.ui -o .obj/prefinterface.o prefinterface.cpp

while in makepgs.conf:

me$  cat /etc/makepkg.conf | grep -A 1 CFLAGS
CFLAGS="-march=amdfam10 -O2 -pipe"
CXXFLAGS="-march=amdfam10 -O2 -pipe"

where is the trick? Arch x86_64 with testing repo enabled.

P.S. maybe I'm wrong but they all use qmake for makefiles generation.

Last edited by vit (2009-05-19 19:26:45)

Offline

#2 2009-05-19 19:26:41

kumyco
Member
From: somewhere
Registered: 2008-06-23
Posts: 153
Website

Re: Not all PKGBUILDS use makepkg.conf

you can ask on the aur page for the contributor to patch the makefiles, but i doubt that'd get anywhere unless the makesfiles accept overrides
the only other option is to report the bug to the maintainers upstream

Offline

#3 2009-05-19 21:15:13

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Not all PKGBUILDS use makepkg.conf

AUR pks mainteners often disables some makeflags to maintain compatibility smile look for options=('!makeflags') line - "!" sign before makeflags disables user-set makepkg.conf makeflags.


Proud ex-maintainer of firefox-pgo

Offline

#4 2009-05-20 02:05:11

vit
Member
Registered: 2008-12-28
Posts: 79

Re: Not all PKGBUILDS use makepkg.conf

No such line there. Don't you think that it's makepkg/qmake issue?

Offline

#5 2009-05-20 03:08:42

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Not all PKGBUILDS use makepkg.conf

you need to rebuild qt with your custom cflags first.

Offline

Board footer

Powered by FluxBB