Browse Source

Marc Beuchat:


			
			
				rocklinux
			
			
		
Marc Beuchat 18 years ago
parent
commit
8a7730d663
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      package/fake/sonypid/sonypid.conf

+ 11
- 1
package/fake/sonypid/sonypid.conf

@ -20,4 +20,14 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
var_append makeinstopt ' ' "PREFIX=$root/usr"
sonypid_preconf() {
var_append makeinstopt ' ' "PREFIX=$root/usr"
if [ -d $root/usr/X11R7 ]; then
var_append makeopt ' ' "CFLAGS='-I$root/usr/X11R7/include -Wall -Wstrict-prototypes -O2 -pipe'"
var_append makeopt ' ' "LIBS='-L$root/usr/X11R7/lib -lX11 -lXtst'"
fi
}
hook_add premake 5 sonypid_preconf

Loading…
Cancel
Save