27 lines
972 B
Text
27 lines
972 B
Text
$NetBSD: patch-ai,v 1.3 2006/02/14 16:26:38 yyamano Exp $
|
|
|
|
--- sed/Makefile.orig 2005-11-14 19:22:40.000000000 +0900
|
|
+++ sed/Makefile
|
|
@@ -13,12 +13,10 @@ all: ${TARG}
|
|
echo built ${TARG}
|
|
|
|
install: ${TARG}
|
|
- @mkdir -p ${DESTDIR}${PREFIX}/bin
|
|
- @cp -f ${TARG} ${DESTDIR}${PREFIX}/bin/
|
|
- @chmod 755 ${DESTDIR}${PREFIX}/bin/${TARG}
|
|
- @mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
|
- @cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1
|
|
- @chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES}
|
|
+ @${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
|
|
+ @${BSD_INSTALL_PROGRAM} ${TARG} ${DESTDIR}${PREFIX}/bin/
|
|
+ @${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1
|
|
+ @${BSD_INSTALL_MAN} ${MANFILES} ${DESTDIR}${MANPREFIX}/man1
|
|
|
|
uninstall:
|
|
rm -f ${DESTDIR}${PREFIX}/bin/${TARG}
|
|
@@ -33,4 +31,4 @@ clean:
|
|
|
|
${TARG}: ${OFILES}
|
|
@echo LD ${TARG}
|
|
- @${CC} ${LDFLAGS} -static -o ${TARG} ${OFILES} -L${PREFIX}/lib -L../lib9 -l9
|
|
+ @${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -L${PREFIX}/lib -L../lib9 -l9
|