0318cd94ca
-correct homepage and master_sites -update maintainer email per maintainer ok wcmaier@, "looks good for me" Gleysdon Soares (maintainer)
33 lines
819 B
Plaintext
33 lines
819 B
Plaintext
$OpenBSD: patch-Makefile,v 1.3 2009/05/31 20:00:22 jim Exp $
|
|
--- Makefile.orig Tue Jul 29 14:22:46 2008
|
|
+++ Makefile Tue May 19 16:02:24 2009
|
|
@@ -15,14 +15,12 @@ options:
|
|
@echo "CC = ${CC}"
|
|
|
|
.c.o:
|
|
- @echo CC $<
|
|
- @${CC} -c ${CFLAGS} $<
|
|
+ ${CC} -c ${CFLAGS} $<
|
|
|
|
${OBJ}: config.mk
|
|
|
|
slock: ${OBJ}
|
|
- @echo CC -o $@
|
|
- @${CC} -o $@ ${OBJ} ${LDFLAGS}
|
|
+ ${CC} -o $@ ${OBJ} ${LDFLAGS}
|
|
|
|
clean:
|
|
@echo cleaning
|
|
@@ -38,10 +36,7 @@ dist: clean
|
|
|
|
install: all
|
|
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
|
|
- @mkdir -p ${DESTDIR}${PREFIX}/bin
|
|
- @cp -f slock ${DESTDIR}${PREFIX}/bin
|
|
- @chmod 755 ${DESTDIR}${PREFIX}/bin/slock
|
|
- @chmod u+s ${DESTDIR}${PREFIX}/bin/slock
|
|
+ @${BSD_INSTALL_PROGRAM} slock ${DESTDIR}${PREFIX}/bin
|
|
|
|
uninstall:
|
|
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
|