mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
c2310184f9
to the wrong distfile (there are 2 or 3 different versions of dviselect, but the differences are essentially cosmetic)
13 lines
431 B
Bash
13 lines
431 B
Bash
#!/bin/sh
|
|
|
|
cd $WRKSRC
|
|
mv Makefile Makefile~
|
|
sed -e /DELETE/q <Makefile~ >Makefile
|
|
|
|
echo "BINDIR = $PREFIX/bin" >> $WRKSRC/Makefile || exit 1;
|
|
echo "MANDIR = $PREFIX/man" >> $WRKSRC/Makefile || exit 1;
|
|
echo "all: default" >> $WRKSRC/Makefile || exit 1;
|
|
echo "CFLAGS= $CFLAGS -I../h -I./h -DHAVE_VPRINTF" >> $WRKSRC/Makefile || exit 1;
|
|
echo "MFLAGS=CFLAGS=\"\${CFLAGS}\"" >> $WRKSRC/Makefile || exit 1;
|
|
exit 0;
|