link it statically...
changed installation path from ${PREFIX}/bin to ${PREFIX}/sbin noticed, that ${PREFIX}/sbin is populated by dynamically linked programs... Wasn't the intention of sbin directories, to include statically linked programs ? Or is this degenerated, because it's ports here and the only statically linked programs reside on the root filesystem in /sbin ???
This commit is contained in:
parent
fea4c871bc
commit
51c3869a15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20277
9 changed files with 15 additions and 15 deletions
|
@ -3,7 +3,7 @@
|
|||
# Date created: Thu May 1 20:28:44 CEST 1997
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1999/07/19 20:21:14 andreas Exp $
|
||||
# $Id: Makefile,v 1.11 1999/07/19 20:21:45 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= star-1.2
|
||||
|
@ -26,7 +26,7 @@ post-extract:
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star \
|
||||
${PREFIX}/bin
|
||||
${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
|
||||
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
|
||||
+CFLAGS+= $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
+CFLAGS+= -static $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
|
||||
CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
|
||||
COPTS=
|
||||
|
@ -14,7 +14,7 @@
|
|||
LIBS_PATH= -L$(OLIBSDIR)
|
||||
|
||||
-LDFLAGS= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= -static $(LDOPTS) $(LDOPTX)
|
||||
LDLIBS= $(LIBS) $(LIBX)
|
||||
|
||||
#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
|
||||
|
|
|
@ -1 +1 @@
|
|||
bin/star
|
||||
sbin/star
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: Thu May 1 20:28:44 CEST 1997
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1999/07/19 20:21:14 andreas Exp $
|
||||
# $Id: Makefile,v 1.11 1999/07/19 20:21:45 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= star-1.2
|
||||
|
@ -26,7 +26,7 @@ post-extract:
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star \
|
||||
${PREFIX}/bin
|
||||
${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
|
||||
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
|
||||
+CFLAGS+= $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
+CFLAGS+= -static $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
|
||||
CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
|
||||
COPTS=
|
||||
|
@ -14,7 +14,7 @@
|
|||
LIBS_PATH= -L$(OLIBSDIR)
|
||||
|
||||
-LDFLAGS= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= -static $(LDOPTS) $(LDOPTX)
|
||||
LDLIBS= $(LIBS) $(LIBX)
|
||||
|
||||
#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
|
||||
|
|
|
@ -1 +1 @@
|
|||
bin/star
|
||||
sbin/star
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: Thu May 1 20:28:44 CEST 1997
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1999/07/19 20:21:14 andreas Exp $
|
||||
# $Id: Makefile,v 1.11 1999/07/19 20:21:45 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= star-1.2
|
||||
|
@ -26,7 +26,7 @@ post-extract:
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star \
|
||||
${PREFIX}/bin
|
||||
${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
|
||||
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
|
||||
+CFLAGS+= $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
+CFLAGS+= -static $(COPTS) $(CWARNOPTS) $(COPTX)
|
||||
|
||||
CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
|
||||
COPTS=
|
||||
|
@ -14,7 +14,7 @@
|
|||
LIBS_PATH= -L$(OLIBSDIR)
|
||||
|
||||
-LDFLAGS= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= $(LDOPTS) $(LDOPTX)
|
||||
+LDFLAGS+= -static $(LDOPTS) $(LDOPTX)
|
||||
LDLIBS= $(LIBS) $(LIBX)
|
||||
|
||||
#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
|
||||
|
|
|
@ -1 +1 @@
|
|||
bin/star
|
||||
sbin/star
|
||||
|
|
Loading…
Reference in a new issue