diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2014-06-11 23:02:36 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2014-06-11 23:02:36 +0800 |
commit | f4428951c5988de6bd19b2de8cc0956ab618aea6 (patch) | |
tree | d7e3a2210fd9f7655c751f46c0e176c6ff2c2376 /net-p2p/libpdtp | |
parent | 499a658cd1daa72258fe0fc31db687a3603ac12b (diff) | |
download | freebsd-ports-gnome-f4428951c5988de6bd19b2de8cc0956ab618aea6.tar.gz freebsd-ports-gnome-f4428951c5988de6bd19b2de8cc0956ab618aea6.tar.zst freebsd-ports-gnome-f4428951c5988de6bd19b2de8cc0956ab618aea6.zip |
- Stagify.
Diffstat (limited to 'net-p2p/libpdtp')
-rw-r--r-- | net-p2p/libpdtp/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/libpdtp/files/patch-make-buildlib.sh | 11 | ||||
-rw-r--r-- | net-p2p/libpdtp/files/patch-make-compile.sh | 11 | ||||
-rw-r--r-- | net-p2p/libpdtp/files/patch-make-link.sh | 11 |
4 files changed, 35 insertions, 3 deletions
diff --git a/net-p2p/libpdtp/Makefile b/net-p2p/libpdtp/Makefile index 94bfa602d940..5979a63585b7 100644 --- a/net-p2p/libpdtp/Makefile +++ b/net-p2p/libpdtp/Makefile @@ -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> diff --git a/net-p2p/libpdtp/files/patch-make-buildlib.sh b/net-p2p/libpdtp/files/patch-make-buildlib.sh new file mode 100644 index 000000000000..e2200d8d288e --- /dev/null +++ b/net-p2p/libpdtp/files/patch-make-buildlib.sh @@ -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) diff --git a/net-p2p/libpdtp/files/patch-make-compile.sh b/net-p2p/libpdtp/files/patch-make-compile.sh new file mode 100644 index 000000000000..66f06a3a4b27 --- /dev/null +++ b/net-p2p/libpdtp/files/patch-make-compile.sh @@ -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) diff --git a/net-p2p/libpdtp/files/patch-make-link.sh b/net-p2p/libpdtp/files/patch-make-link.sh new file mode 100644 index 000000000000..77d28a5a2cf1 --- /dev/null +++ b/net-p2p/libpdtp/files/patch-make-link.sh @@ -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) |