openbsd-ports/lang/regina/patches/patch-Makefile_in
bcallah 4f02877b76 Update to regina-rexx-3.9.3
Note the major bump to libregina
2020-05-20 15:12:03 +00:00

30 lines
1.5 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2020/05/20 15:12:03 bcallah Exp $
Do not gzip manual pages.
Properly install shlib.
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -1045,11 +1045,6 @@ installbase: all
$(INSTALL) -m 644 -c $(srcdir)/regina-config.1 $(DESTDIR)$(mandir)/man1/regina-config.1
$(INSTALL) -m 644 -c $(srcdir)/rxstack.1 $(DESTDIR)$(mandir)/man1/rxstack.1
$(INSTALL) -m 644 -c $(srcdir)/rxqueue.1 $(DESTDIR)$(mandir)/man1/rxqueue.1
- gzip -f $(DESTDIR)$(mandir)/man1/regina.1
- gzip -f $(DESTDIR)$(mandir)/man1/rexx.1
- gzip -f $(DESTDIR)$(mandir)/man1/regina-config.1
- gzip -f $(DESTDIR)$(mandir)/man1/rxstack.1
- gzip -f $(DESTDIR)$(mandir)/man1/rxqueue.1
$(INSTALL) -m 644 -c $(srcdir)/rexxsaa.h $(DESTDIR)$(includedir)/rexxsaa.h
$(INSTALL) -m 644 -c ./en.mtb $(DESTDIR)$(sharedir)/en.mtb
$(INSTALL) -m 644 -c ./pt.mtb $(DESTDIR)$(sharedir)/pt.mtb
@@ -1084,7 +1079,7 @@ installregina:
-chmod 755 $(DESTDIR)$(examplesdir)/regutil.rexx
installlib: installregina
- $(INSTALL) -s -m 755 -c ./$(SHLPRE)$(SHLFILE)$(SHLPST) $(DESTDIR)$(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST)
+ $(INSTALL) -s -m 755 -c ./$(SHLPRE)$(SHLFILE)$(SHLPST).${LIBregina_VERSION} $(DESTDIR)$(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST).${LIBregina_VERSION}
$(INSTALL) -s -m 755 -c ./$(SHLPRE)regutil$(MODPST) $(DESTDIR)$(addonsdir)/$(SHLPRE)regutil$(MODPST)
$(INSTALL) -s -m 755 -c ./$(SHLPRE)rxtest1$(MODPST) $(DESTDIR)$(addonsdir)/$(SHLPRE)rxtest1$(MODPST)
$(INSTALL) -s -m 755 -c ./$(SHLPRE)rxtest2$(MODPST) $(DESTDIR)$(addonsdir)/$(SHLPRE)rxtest2$(MODPST)