libraries/xawplus: Fix to makefile patch (fixed include directories)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Bojan Popovic 2013-03-04 00:05:08 -05:00 committed by dsomero
parent 18f0017e62
commit 1c808b2c16
2 changed files with 5 additions and 5 deletions

View File

@ -69,15 +69,15 @@
- cp libXaw.so.7.0 $(INST_LIBS)
- ldconfig
- ln -s $(INST_LIBS)/libXaw.so.6.6 $(INST_LIBS)/libXaw.so
+ install -m 755 -d $(DESTDIR)/usr/include/X11
+ install -m 755 -d $(DESTDIR)/usr/include/X11/XawPlus
+ install -m 755 -d $(DESTDIR)$(INST_LIBS)
+ install -m 644 ./X11/XawPlus/*.h $(DESTDIR)/usr/include/X11
+ install -m 644 ./X11/XawPlus/*.h $(DESTDIR)/usr/include/X11/XawPlus
+ install -m 644 libXawPlus.so.3.1 $(DESTDIR)$(INST_LIBS)
+
+install-static:
+ install -m 755 -d $(DESTDIR)/usr/include/X11
+ install -m 755 -d $(DESTDIR)/usr/include/X11/XawPlus
+ install -m 755 -d $(DESTDIR)$(INST_LIBS)
+ install -m 644 ./X11/XawPlus/*.h $(DESTDIR)/usr/include/X11
+ install -m 644 ./X11/XawPlus/*.h $(DESTDIR)/usr/include/X11/XawPlus
+ install -m 644 libXawPlus.a $(DESTDIR)$(INST_LIBS)
# --- Common

View File

@ -81,7 +81,7 @@ export INST_LIBS=/usr/lib${LIBDIRSUFFIX}
make -j1 DESTDIR=$PKG
cd $PKG/usr/lib${LIBDIRSUFFIX}
cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -sf libXawPlus.so.3.1 libXawPlus.so
ln -sf libXawPlus.so.3.1 libXawPlus.so.3
cd $TMP/$PRGNAM-$VERSION