Browse Source

added Dimitar Zhekov's mine shared linking patch (which is already in mine

SVN) since we will not have a new mine release before -rc3


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1770 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
2149d9726a
2 changed files with 40 additions and 0 deletions
  1. +2
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +38
    -0
      package/base/mine/static.patch

+ 2
- 0
Documentation/Developers/CHANGELOG-RENE

@ -10,6 +10,8 @@
- fixed screen's va_list useage (again - only visible on non-x86 system)
- Andreas V. Meier: added mdadm, an alternative to the old raid-tools
added ripperx
- added Dimitar Zhekov's mine shared linking patch (which is already in mine
SVN) since we will not have a new mine release before -rc3
*) 2003-11-13 (2.0.0-rc2 - 2.0.0-rc3)

+ 38
- 0
package/base/mine/static.patch

@ -0,0 +1,38 @@
--- ./Makefile.orig 2003-10-18 11:26:04.000000000 +0300
+++ ./Makefile 2003-10-18 11:26:13.000000000 +0300
@@ -23,7 +23,6 @@
MINE_VER = 0.15
MINE_OBJ = create.o install.o remove.o pkglist.o
MINE_OBJ += showfile.o showkey.o memdb.o md5.o md5sum.o mine.o
-MINE_LDFLAGS = -static
# GAS
#
@@ -63,7 +62,7 @@
# What do we want to build
#
-targets = mine
+targets = mine mine.static
ifeq ($(USE_GAS), 1)
targets += gasgui
endif
@@ -79,13 +78,17 @@
all: $(targets)
mine: $(MINE_ALL_OBJS)
- $(CC) $(MINE_ALL_OBJS) $(MINE_LDFLAGS) -o mine
+ $(CC) $(MINE_ALL_OBJS) -o mine
+
+mine.static:
+ $(CC) $(MINE_ALL_OBJS) -static -o mine.static
gasgui: $(GAS_OBJ)
$(CC) $(GAS_OBJ) -ldialog -lcurses -lm -o gasgui
install:
install mine $(sysprefix)/bin/mine
+ install mine.static $(sysprefix)/bin/mine.static
install tarbz2gem.sh $(prefix)/sbin/tarbz2gem
install rocket.sh $(prefix)/sbin/rocket
ifeq ($(USE_GAS), 1)

Loading…
Cancel
Save