1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stagify.

This commit is contained in:
Jun Kuriyama 2014-06-11 15:02:36 +00:00
parent 400fbecd4e
commit 598e00d336
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357489
10 changed files with 63 additions and 13 deletions

View File

@ -14,9 +14,8 @@ HAS_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -fpic
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pdtp ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/pdtp ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>

View 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)

View 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)

View 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)

View File

@ -13,13 +13,12 @@ HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
STRIP= # Keep empty for debugging.
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/squall/squall ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squallhub/squallhub ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squallproxy/squallproxy ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squirt/squirt ${PREFIX}/sbin
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/squall/squall ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squallhub/squallhub ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squallproxy/squallproxy ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/squirt/squirt ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View 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)

View 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)

View File

@ -30,7 +30,6 @@ CONFIGURE_ARGS+= --with-japanese-manual
INFO+= tramp
.endif
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == emacs20

View File

@ -20,5 +20,4 @@ SAMBA_PORT?= samba36
USE_AUTOTOOLS= autoconf autoheader # for net/${SAMBA_PORT} configure
MAKE_ARGS= SAMBA_DATADIR=${PREFIX}
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -13,5 +13,4 @@ GNU_CONFIGURE= yes
USES= gmake
USE_EMACS= yes
NO_STAGE= yes
.include <bsd.port.mk>