freebsd-ports/sysutils/psgconf/files/patch-Makefile.PL
Boris Samorodov 7c51c5d5f1 The patch was totally rewritten by the maintainer:
. update to the new version 3.2.3;
. fix package building/installing/deinstalling;
. remove BROKEN.

PR:		107803
Submitted by:	bsam (me)
Approved by:	pirjyk (maintainer)
2007-02-08 21:02:44 +00:00

22 lines
640 B
Raku

--- ./Makefile.PL.orig Mon Jun 26 22:05:42 2006
+++ ./Makefile.PL Thu Feb 1 09:40:51 2007
@@ -18,8 +18,8 @@
my ($etc_dir, $share_dir);
-$etc_dir = '/etc';
-$share_dir = '/usr/local/share/psgconf';
+$etc_dir = '$(PREFIX)/etc';
+$share_dir = '$(PREFIX)/share/psgconf';
GetOptions(
'etcdir=s' => \$etc_dir,
@@ -39,7 +39,7 @@
$(CP) files/rc.shutdown $(DESTDIR)$(SHARE_DIR)/files
$(CP) files/magic $(DESTDIR)$(SHARE_DIR)/files
- $(SH) MAKE=$(MAKE) ROOT_PATH=$(DESTDIR) ETC_DIR=$(ETC_DIR) ./postinstall
+# $(SH) MAKE=$(MAKE) ROOT_PATH=$(DESTDIR) ETC_DIR=$(ETC_DIR) ./postinstall
svr4pkg:
$(MAKE) DESTDIR=$(DESTDIR) install