forked from Lainports/freebsd-ports
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
9 lines
248 B
Bash
9 lines
248 B
Bash
#! /bin/sh
|
|
|
|
cfg=${WRKSRC}/m3config/src/${TARGET}
|
|
cp -p ${cfg} ${cfg}.bak || exit
|
|
sed \
|
|
-e "/^INSTALL_ROOT = /s|\".*\"|\"${PREFIX}\"|" \
|
|
-e "/^X11ROOT = /s|\".*\"|\"${LOCALBASE}/lib\"|" \
|
|
${cfg} > ${cfg}.tmp || exit
|
|
mv ${cfg}.tmp ${cfg}
|