freebsd-ports/astro/wcslib/files/patch-GNUmakefile
Wen Heping 9a338ad50a - Update to 4.4.4
- Fix the build on 6.x
- Install pkgconfig file under libdata/pkgconfig

PR:		ports/141742
Submitted by:	Tony Maher <tonymaher@optusnet.com.au> (maintainer)
2010-01-05 01:54:52 +00:00

16 lines
677 B
Text

--- GNUmakefile.orig 2010-01-05 09:25:18.000000000 +0800
+++ GNUmakefile 2010-01-05 09:26:17.000000000 +0800
@@ -55,10 +55,10 @@
$(INSTALL) -m 444 CHANGES $(INCDIR)/CHANGES
$(INSTALL) -m 444 COPYING $(INCDIR)/COPYING
$(INSTALL) -m 444 README $(INCDIR)/README
- if [ ! -d "$(LIBDIR)/pkgconfig" ] ; then \
- $(INSTALL) -d -m 2775 $(LIBDIR)/pkgconfig ; \
+ if [ ! -d "%%PKGDIR%%/pkgconfig" ] ; then \
+ $(INSTALL) -d -m 2775 %%PKGDIR%%/pkgconfig ; \
fi
- $(INSTALL) -m 444 wcslib.pc $(LIBDIR)/pkgconfig/wcslib.pc
+ $(INSTALL) -m 444 wcslib.pc %%PKGDIR%%/pkgconfig/wcslib.pc
realclean cleanest :
for DIR in $(SUBDIRS) doxygen ; do \