openbsd-ports/audio/xmp/patches/patch-etc_Makefile
2003-05-18 07:40:55 +00:00

21 lines
1001 B
Plaintext

$OpenBSD: patch-etc_Makefile,v 1.1 2003/05/18 07:40:55 naddy Exp $
--- etc/Makefile.orig Fri Dec 29 11:06:28 2000
+++ etc/Makefile Sat May 17 01:27:10 2003
@@ -14,11 +14,11 @@ include ../Makefile.rules
install::
@echo Installing xmp.conf and xmp-modules.conf in $(DEST_DIR)...
- @if [ -f $(DEST_DIR)/etc/xmp.conf ]; then \
- mv -f $(DEST_DIR)/etc/xmp.conf $(DEST_DIR)/etc/xmp.conf.old; \
+ @if [ -f $(DEST_DIR)/$(SYSCONF_DIR)/xmp.conf ]; then \
+ mv -f $(DEST_DIR)/$(SYSCONF_DIR)/xmp.conf $(DEST_DIR)/$(SYSCONF_DIR)/xmp.conf.old; \
fi
- @if [ -f $(DEST_DIR)/etc/xmp-modules.conf ]; then \
- mv -f $(DEST_DIR)/etc/xmp-modules.conf $(DEST_DIR)/etc/xmp-modules.conf.old; \
+ @if [ -f $(DEST_DIR)/$(SYSCONF_DIR)/xmp-modules.conf ]; then \
+ mv -f $(DEST_DIR)/$(SYSCONF_DIR)/xmp-modules.conf $(DEST_DIR)/$(SYSCONF_DIR)/xmp-modules.conf.old; \
fi
- $(INSTALL) -m644 xmp.conf xmp-modules.conf $(DEST_DIR)/etc
+ $(INSTALL) -m644 xmp.conf xmp-modules.conf $(DEST_DIR)/$(SYSCONF_DIR)