mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
20 lines
450 B
Bash
20 lines
450 B
Bash
#! /bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
# 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
|