mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
Additional port changes: * Changed to DISTVERSION * Added LICENSE=PD (PD is in the project name) * Added to USE_XORG * WRKSRC is now needed due to project tree restructuring * MAKE_ARGS is needed since Makefile doesn't know some variables, and build is not standard * Moved patching from post-patch to files/ * Added SONAME to the shared lib * Fixed some oddness with $(srcdir) in Makefile.in Reported SONAME and $srcdir problems to the upstream maintainer. Testing: * Ran few testcases * Built 2 depending ports Reported by: portscout Approved by: tcberner (mentor, implicit)
35 lines
1.6 KiB
Text
35 lines
1.6 KiB
Text
--- Makefile.in.orig 2018-01-08 17:54:16 UTC
|
|
+++ Makefile.in
|
|
@@ -56,17 +56,17 @@ install:
|
|
$(INSTALL) -d -m 755 $(bindir)
|
|
$(INSTALL) -d -m 755 $(includedir)
|
|
$(INSTALL) -d -m 755 $(includedir)/xcurses
|
|
- $(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses.h
|
|
- $(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses/curses.h
|
|
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/curses.h $(includedir)/xcurses.h
|
|
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/curses.h $(includedir)/xcurses/curses.h
|
|
sed -e 's/#include <curses.h>/#include <xcurses.h>/' \
|
|
- < $(srcdir)/panel.h > ./xpanel.h
|
|
+ < $(PDCURSES_SRCDIR)/panel.h > ./xpanel.h
|
|
$(INSTALL) -m 644 ./xpanel.h $(includedir)/xpanel.h
|
|
- $(INSTALL) -c -m 644 $(srcdir)/panel.h $(includedir)/xcurses/panel.h
|
|
- $(INSTALL) -c -m 644 $(srcdir)/term.h $(includedir)/xcurses/term.h
|
|
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h $(includedir)/xcurses/panel.h
|
|
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/term.h $(includedir)/xcurses/term.h
|
|
$(INSTALL) -c -m 644 $(osdir)/libXCurses.a $(libdir)/libXCurses.a
|
|
-$(RANLIB) $(libdir)/libXCurses.a
|
|
-$(INSTALL) -c -m 755 $(osdir)/$(SHLPRE)$(SHLFILE)$(SHLPST) \
|
|
- $(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST)
|
|
+ $(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST).2
|
|
$(INSTALL) -c -m 755 $(osdir)/xcurses-config $(bindir)/xcurses-config
|
|
|
|
clean:
|
|
@@ -102,7 +102,7 @@ $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
|
|
-$(RANLIB) $@
|
|
|
|
$(SHLPRE)$(SHLFILE)$(SHLPST) : $(SHOFILES)
|
|
- $(LD_RXLIB1) -o $@ $(SHOFILES) $(LD_RXLIB2)
|
|
+ $(LD_RXLIB1) -soname=$(SHLPRE)$(SHLFILE)$(SHLPST).2 -o $@ $(SHOFILES) $(LD_RXLIB2)
|
|
|
|
$(LIBOBJS) $(PDCOBJS) $(SHOFILES) : $(PDCURSES_HEADERS)
|
|
$(PDCOBJS) $(PDCSHOBJS) : $(PDCURSES_X11_H)
|