mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stagify.
This commit is contained in:
parent
400fbecd4e
commit
598e00d336
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357489
@ -14,9 +14,8 @@ HAS_CONFIGURE= yes
|
|||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
CFLAGS+= -fpic
|
CFLAGS+= -fpic
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/pdtp ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/pdtp ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${PREFIX}/lib
|
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${STAGEDIR}${PREFIX}/lib
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
11
net-p2p/libpdtp/files/patch-make-buildlib.sh
Normal file
11
net-p2p/libpdtp/files/patch-make-buildlib.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./make-buildlib.sh.orig 2014-06-11 23:58:17.022462223 +0900
|
||||||
|
+++ ./make-buildlib.sh 2014-06-11 23:58:26.037461106 +0900
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
BUILDLIBFLAGS="-lpthread -shared"
|
||||||
|
;;
|
||||||
|
FreeBSD|OpenBSD|NetBSD)
|
||||||
|
- BUILDLIB=gcc
|
||||||
|
+ BUILDLIB=${CC}
|
||||||
|
BUILDLIBFLAGS="-pthread -shared"
|
||||||
|
;;
|
||||||
|
SunOS)
|
11
net-p2p/libpdtp/files/patch-make-compile.sh
Normal file
11
net-p2p/libpdtp/files/patch-make-compile.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./make-compile.sh.orig 2014-06-11 23:56:44.234462034 +0900
|
||||||
|
+++ ./make-compile.sh 2014-06-11 23:56:59.164462439 +0900
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
CFLAGS="-ansi -pedantic -fpic -g -Wall -D_GNU_SOURCE"
|
||||||
|
;;
|
||||||
|
FreeBSD|OpenBSD|NetBSD)
|
||||||
|
- CC=gcc
|
||||||
|
+ CC=${CC}
|
||||||
|
CFLAGS="-ansi -pedantic -fpic -g -Wall"
|
||||||
|
;;
|
||||||
|
SunOS)
|
11
net-p2p/libpdtp/files/patch-make-link.sh
Normal file
11
net-p2p/libpdtp/files/patch-make-link.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./make-link.sh.orig 2014-06-11 23:57:05.342462423 +0900
|
||||||
|
+++ ./make-link.sh 2014-06-11 23:57:14.220461623 +0900
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
LDFLAGS="-lpthread"
|
||||||
|
;;
|
||||||
|
FreeBSD|OpenBSD|NetBSD)
|
||||||
|
- LD=gcc
|
||||||
|
+ LD=${CC}
|
||||||
|
LDFLAGS="-pthread"
|
||||||
|
;;
|
||||||
|
SunOS)
|
@ -13,13 +13,12 @@ HAS_CONFIGURE= yes
|
|||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
STRIP= # Keep empty for debugging.
|
STRIP= # Keep empty for debugging.
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/squall/squall ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/squall/squall ${STAGEDIR}${PREFIX}/sbin
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/squallhub/squallhub ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/squallhub/squallhub ${STAGEDIR}${PREFIX}/sbin
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/squallproxy/squallproxy ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/squallproxy/squallproxy ${STAGEDIR}${PREFIX}/sbin
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/squirt/squirt ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/squirt/squirt ${STAGEDIR}${PREFIX}/sbin
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
11
net-p2p/squall/files/patch-make-compile.sh
Normal file
11
net-p2p/squall/files/patch-make-compile.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- make-compile.sh.orig 2014-06-11 23:42:34.333462233 +0900
|
||||||
|
+++ make-compile.sh 2014-06-11 23:42:45.001462051 +0900
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
CFLAGS="-D_REENTRANT -D_THREAD_SAFE -g -O3 -Wall"
|
||||||
|
;;
|
||||||
|
FreeBSD|OpenBSD|NetBSD)
|
||||||
|
- CC=gcc
|
||||||
|
+ CC=${CC}
|
||||||
|
CFLAGS="-D_REENTRANT -D_THREAD_SAFE -ansi -pedantic -g -O3 -Wall"
|
||||||
|
;;
|
||||||
|
Linux)
|
11
net-p2p/squall/files/patch-make-link.sh
Normal file
11
net-p2p/squall/files/patch-make-link.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- make-link.sh.orig 2014-06-11 23:44:37.727462291 +0900
|
||||||
|
+++ make-link.sh 2014-06-11 23:47:07.004461915 +0900
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
LDFLAGS=-lpthread
|
||||||
|
;;
|
||||||
|
FreeBSD|OpenBSD|NetBSD)
|
||||||
|
- LD=gcc
|
||||||
|
+ LD=${CC}
|
||||||
|
LDFLAGS=-pthread
|
||||||
|
;;
|
||||||
|
SunOS)
|
@ -30,7 +30,6 @@ CONFIGURE_ARGS+= --with-japanese-manual
|
|||||||
INFO+= tramp
|
INFO+= tramp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${EMACS_PORT_NAME} == emacs20
|
.if ${EMACS_PORT_NAME} == emacs20
|
||||||
|
@ -20,5 +20,4 @@ SAMBA_PORT?= samba36
|
|||||||
USE_AUTOTOOLS= autoconf autoheader # for net/${SAMBA_PORT} configure
|
USE_AUTOTOOLS= autoconf autoheader # for net/${SAMBA_PORT} configure
|
||||||
MAKE_ARGS= SAMBA_DATADIR=${PREFIX}
|
MAKE_ARGS= SAMBA_DATADIR=${PREFIX}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -13,5 +13,4 @@ GNU_CONFIGURE= yes
|
|||||||
USES= gmake
|
USES= gmake
|
||||||
USE_EMACS= yes
|
USE_EMACS= yes
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user