freebsd-ports/irc/ctrlproxy/files/patch-Makefile
Chin-San Huang a84f9f8fb0 - Update to 3.0.5.
Submitted by:		Ashish Shukla <wahjava at gmail dot com> via mail
2007-12-24 05:31:20 +00:00

30 lines
1 KiB
Text

--- Makefile.orig Sun Apr 15 14:17:58 2007
+++ Makefile Sat Jun 16 12:00:33 2007
@@ -108,7 +108,7 @@
ctrlproxy.pc Makefile.settings: configure Makefile.settings.in ctrlproxy.pc.in
./$<
-install: all install-dirs install-bin install-header install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
+install: all install-dirs install-bin install-data install-pkgconfig $(EXTRA_INSTALL_TARGETS)
install-dirs:
$(INSTALL) -d $(DESTDIR)$(modulesdir)
@@ -133,7 +133,6 @@
install-doc:: doc
$(INSTALL) -d $(DESTDIR)$(docdir)
- $(MAKE) -C doc install PACKAGE_VERSION=$(PACKAGE_VERSION)
uninstall-doc:
$(MAKE) -C doc uninstall
@@ -156,8 +154,8 @@
$(INSTALL) -m 0644 config.admin $(DESTDIR)$(DEFAULT_CONFIG_DIR)/networks/admin
install-pkgconfig:
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig
+ $(INSTALL) -m 0644 ctrlproxy.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
uninstall-pkgconfig:
-rm -f $(DESTDIR)$(libdir)/pkgconfig/ctrlproxy.pc