diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-31 15:26:48 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-31 15:26:48 +0800 |
commit | fb4bbbfe35173a63486b8961be2135cf1d2dddd2 (patch) | |
tree | 7bdb2d84eb5c404be799770c022898348b09e9b1 /devel/ncurses-devel | |
parent | 1cf0e51a2b287e3d2b8d8b035464a8f784981bc7 (diff) | |
download | freebsd-ports-graphics-fb4bbbfe35173a63486b8961be2135cf1d2dddd2.tar.gz freebsd-ports-graphics-fb4bbbfe35173a63486b8961be2135cf1d2dddd2.tar.zst freebsd-ports-graphics-fb4bbbfe35173a63486b8961be2135cf1d2dddd2.zip |
- Update to 5.6 snapshot 20080329
- Really fix build when WRKDIRPREFIX [1]
I don't know why the current approach works in my previous test. Now
really fix the build by changing to .CURDIR (where the port lives).
Note that I use .CURDIR instead of PORTSDIR/PKGORIGIN as the port may
live outside somewhere else.
- Add trailing slash for destination directory
PR: ports/117643 [1]
Submitted by: Stefan Sperling <stsp at stsp.name> [1]
Diffstat (limited to 'devel/ncurses-devel')
-rw-r--r-- | devel/ncurses-devel/Makefile | 23 | ||||
-rw-r--r-- | devel/ncurses-devel/distinfo | 3 |
2 files changed, 16 insertions, 10 deletions
diff --git a/devel/ncurses-devel/Makefile b/devel/ncurses-devel/Makefile index 7fa3f518a46..cb0a4f14c26 100644 --- a/devel/ncurses-devel/Makefile +++ b/devel/ncurses-devel/Makefile @@ -31,7 +31,7 @@ PATCHES= 20061223 20061230 20070106 20070113 20070120 20070127 20070128 \ 20070818 20070825 20070901 20070908 20070915 20070929 20071006 \ 20071013 20071020 20071103 20071117 20071124 20071201 20071215 \ 20071222 20080105 20080112 20080119 20080203 20080209 20080223 \ - 20080301 20080308 20080322 + 20080301 20080308 20080322 20080329 RELEASE= 5.6 @@ -144,36 +144,39 @@ post-patch: post-configure: .if !defined(WITHOUT_WIDEC) - ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WIDEC_WRKSRC} \ + cd ${.CURDIR} && \ + ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WIDEC_WRKSRC} \ CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \ do-configure .endif .for d in test c++ -. if !defined(WITHOUT_WIDEC) +.if !defined(WITHOUT_WIDEC) ${CP} ${WRKSRC}/${d}/* ${WIDEC_WRKSRC}/${d}/ -. endif +.endif ${CP} ${WRKSRC}/${d}/* ${NOWIDEC_WRKSRC}/${d}/ .endfor post-build: .if !defined(WITHOUT_WIDEC) - ${MAKE} ${.MAKEFLAGS} BUILD_WRKSRC=${WIDEC_WRKSRC} do-build + cd ${.CURDIR} && \ + ${MAKE} ${.MAKEFLAGS} BUILD_WRKSRC=${WIDEC_WRKSRC} do-build .endif post-install: .if !defined(WITHOUT_WIDEC) - ${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install + cd ${.CURDIR} && \ + ${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install .endif .if !defined(NOPORTEXAMPLES) . for i in ${EXAMPLES_TARGETS} ${MKDIR} ${${i}_EXAMPLESDIR}/c++ . for f in ${EXAMPLES} - ${INSTALL_DATA} ${${i}_WRKSRC}/test/${f} ${${i}_EXAMPLESDIR} + ${INSTALL_DATA} ${${i}_WRKSRC}/test/${f} ${${i}_EXAMPLESDIR}/ . endfor - ${INSTALL_SCRIPT} ${${i}_WRKSRC}/test/tracemunch ${${i}_EXAMPLESDIR} + ${INSTALL_SCRIPT} ${${i}_WRKSRC}/test/tracemunch ${${i}_EXAMPLESDIR}/ . for f in ${EXAMPLES_CPP} - ${INSTALL_DATA} ${${i}_WRKSRC}/c++/${f} ${${i}_EXAMPLESDIR}/c++ + ${INSTALL_DATA} ${${i}_WRKSRC}/c++/${f} ${${i}_EXAMPLESDIR}/c++/ . endfor . endfor .endif @@ -186,7 +189,7 @@ post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} . for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ . endfor .endif diff --git a/devel/ncurses-devel/distinfo b/devel/ncurses-devel/distinfo index 0be6ce36a12..1f7586fe26c 100644 --- a/devel/ncurses-devel/distinfo +++ b/devel/ncurses-devel/distinfo @@ -178,3 +178,6 @@ SIZE (ncurses/ncurses-5.6-20080308.patch.gz) = 8728 MD5 (ncurses/ncurses-5.6-20080322.patch.gz) = 3ed03dec7b6665eba0483b4f46e718d8 SHA256 (ncurses/ncurses-5.6-20080322.patch.gz) = 4ea9d00637f1ca55734e3ca3175bcab5dfb168e9872d1fa589bc8c0abf0f1cae SIZE (ncurses/ncurses-5.6-20080322.patch.gz) = 7412 +MD5 (ncurses/ncurses-5.6-20080329.patch.gz) = fe2325a9e5e1830ce776009060467b1f +SHA256 (ncurses/ncurses-5.6-20080329.patch.gz) = 034f3af684d3b4a2e233822e39c58e675c5dd6f533700b0a82db73fa5b0f7cf0 +SIZE (ncurses/ncurses-5.6-20080329.patch.gz) = 69616 |