blob: fb4f8d2399b9ddf1bea9010e3ced0f54a395e891 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
# $Id$
#
# patch hacks !!LOCALBASE!! and !!X11BASE!! hooks into the config file
# here we resolve finally our - via /etc/make.conf - variable include
# and destination directories
# -andreas
#
echo "adjusting paths in ${WRKSRC}/config/crosssite.def"
perl -pi -e "s=!!LOCALBASE!!=$LOCALBASE=" ${WRKSRC}/config/crosssite.def \
|| exit 1
perl -pi -e "s=!!X11BASE!!=$X11BASE=" ${WRKSRC}/config/crosssite.def \
|| exit 1
exit 0
|