Browse Source

Replaced hardcoded X11 directories with flexible OpenPKG x11 package rc script query. Thanks to Ralf for this idea.

master
Michael Schloh von Bennewitz 24 years ago committed by Ralf S. Engelschall
parent
commit
e5be305b9d
  1. 4
      xv/xv.spec

4
xv/xv.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
Group: XWindow
License: XV
Version: 3.10a
Release: 20020809
Release: 20020812
# list of sources
Source0: ftp://ftp.cis.upenn.edu/pub/xv/xv-%{version}.tar.gz
@ -70,7 +70,7 @@ AutoReqProv: no
# fix braindead FreeBSD
CCHACK="-O"
case "%{l_target}" in
*-freebsd*)CCHACK="-O -I/usr/X11R6/include/ -L/usr/X11R6/lib/";;
*-freebsd*)CCHACK="-O -I`%{l_prefix}/etc/rc --query x11_incdir` -L`%{l_prefix}/etc/rc --query x11_libdir`";;
esac
# build XV

Loading…
Cancel
Save