FreeBSD Bugzilla – Attachment 144247 Details for
Bug 191481
[PATCH] devel/c-unit: support STAGEDIR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
STAGEDIR support patch file
c-unit.patch (text/plain), 4.45 KB, created by
tak.swd
on 2014-06-29 14:37:20 UTC
(
hide
)
Description:
STAGEDIR support patch file
Filename:
MIME Type:
Creator:
tak.swd
Created:
2014-06-29 14:37:20 UTC
Size:
4.45 KB
patch
obsolete
>--- Makefile.orig 2014-06-29 23:20:39.000000000 +0900 >+++ Makefile 2014-06-29 23:04:12.000000000 +0900 >@@ -9,91 +9,49 @@ > MAINTAINER= tak.swd@gmail.com > COMMENT= Unit testing framework for C > >+LICENSE= LGPL20 >+ > CONFLICTS= cunit-[0-9]* > > GNU_CONFIGURE= yes >-USES= gmake >-USE_AUTOTOOLS= autoheader >+USES= gmake libtool pathfix >+USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize > USE_LDCONFIG= yes > >-MAN3= CUnit.3 >+DATADIR= ${PREFIX}/share/CUnit >+EXAMPLESDIR= ${PREFIX}/share/examples/CUnit >+PORTDATA= * >+PORTEXAMPLES= * >+ >+AUTOMAKE_ARGS= --add-missing >+LIBTOOLIZE_ARGS=--copy --force --install >+PATHFIX_MAKEFILEIN= Makefile.am > >-OPTIONS_DEFINE= DEB AUT BAS CON CUR EXA ITE MEM >-DEB_DESC= Debug interface >+OPTIONS_DEFINE= AUT BAS CON CUR DEB EXA ITE MEM >+OPTIONS_DEFAULT= AUT BAS CON >+OPTIONS_SUB= yes > AUT_DESC= Automated(XML) interface > BAS_DESC= Basic interface > CON_DESC= Console interface > CUR_DESC= Curses interface >-EXA_DESC= Compile example programs >-ITE_DESC= Compile internal test program >+DEB_DESC= Debug interface >+EXA_DESC= Example programs >+ITE_DESC= Internal test program > MEM_DESC= Internal memory tracking > >-OPTIONS_DEFAULT= AUT BAS CON >+AUT_CONFIGURE_ENABLE= automated >+BAS_CONFIGURE_ENABLE= basic >+CON_CONFIGURE_ENABLE= console >+CUR_CONFIGURE_ENABLE= curses >+CUR_LDFLAGS= -lcurses >+CUR_USES= ncurses >+DEB_CONFIGURE_ENABLE= debug >+EXA_CONFIGURE_ENABLE= examples >+ITE_CONFIGURE_ENABLE= test >+MEM_CONFIGURE_ENABLE= memtrace > >-NO_STAGE= yes > post-patch: >- @${REINPLACE_CMD} \ >- 's|/@PACKAGE@/Examples/Automated|/examples/@PACKAGE@/Automated|g' \ >- ${WRKSRC}/Examples/AutomatedTest/Makefile.in >- @${REINPLACE_CMD} \ >- 's|/@PACKAGE@/Examples/Basic|/examples/@PACKAGE@/Basic|g' \ >- ${WRKSRC}/Examples/BasicTest/Makefile.in >- @${REINPLACE_CMD} \ >- 's|/@PACKAGE@/Examples/Console|/examples/@PACKAGE@/Console|g' \ >- ${WRKSRC}/Examples/ConsoleTest/Makefile.in >- @${REINPLACE_CMD} \ >- 's|/@PACKAGE@/Examples/Curses|/examples/@PACKAGE@/Curses|g' \ >- ${WRKSRC}/Examples/CursesTest/Makefile.in >- >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:MDEB} >-CONFIGURE_ARGS+= --enable-debug >-.endif >-.if ${PORT_OPTIONS:MAUT} >-PLIST_FILES+= include/CUnit/Automated.h >-.else >-CONFIGURE_ARGS+= --disable-automated >-.endif >-.if ${PORT_OPTIONS:MBAS} >-PLIST_FILES+= include/CUnit/Basic.h >-.else >-CONFIGURE_ARGS+= --disable-basic >-.endif >-.if ${PORT_OPTIONS:MCON} >-PLIST_FILES+= include/CUnit/Console.h >-.else >-CONFIGURE_ARGS+= --disable-console >-.endif >-.if ${PORT_OPTIONS:MCUR} >-CONFIGURE_ARGS+= --enable-curses >-PLIST_FILES+= include/CUnit/CUCurses.h >-.endif >-.if ${PORT_OPTIONS:MEXA} >-CONFIGURE_ARGS+= --enable-examples >-.if ${PORT_OPTIONS:MAUT} >-PLIST_FILES+= share/examples/CUnit/Automated/AutomatedTest \ >- share/examples/CUnit/Automated/README >-.endif >-.if ${PORT_OPTIONS:MBAS} >-PLIST_FILES+= share/examples/CUnit/Basic/BasicTest \ >- share/examples/CUnit/Basic/README >-.endif >-.if ${PORT_OPTIONS:MCON} >-PLIST_FILES+= share/examples/CUnit/Console/ConsoleTest \ >- share/examples/CUnit/Console/README >-.endif >-.if ${PORT_OPTIONS:MCUR} >-PLIST_FILES+= share/examples/CUnit/Curses/CursesTest \ >- share/examples/CUnit/Curses/README >-.endif >-.endif >-.if ${PORT_OPTIONS:MITE} >-CONFIGURE_ARGS+= --enable-test >-PLIST_FILES+= share/CUnit/Test/test_cunit >-.endif >-.if ${PORT_OPTIONS:MMEM} >-CONFIGURE_ARGS+= --enable-memtrace >-.endif >+ @${REINPLACE_CMD} -e 's|/doc/@PACKAGE@|/share/doc/@PACKAGE@|g' ${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/headers/Makefile.am >+ @${REINPLACE_CMD} -e 's|/@PACKAGE@/Examples/|/examples/@PACKAGE@/|g' ${WRKSRC}/Examples/*/Makefile.am > > .include <bsd.port.mk> >--- pkg-plist.orig 2014-06-29 23:20:18.000000000 +0900 >+++ pkg-plist 2014-06-29 23:15:26.000000000 +0900 >@@ -1,3 +1,7 @@ >+%%AUT%%include/CUnit/Automated.h >+%%BAS%%include/CUnit/Basic.h >+%%CON%%include/CUnit/Console.h >+%%CUR%%include/CUnit/CUCurses.h > include/CUnit/CUError.h > include/CUnit/CUnit.h > include/CUnit/MyMem.h >@@ -5,20 +9,8 @@ > include/CUnit/TestRun.h > include/CUnit/Util.h > lib/libcunit.a >-lib/libcunit.la > lib/libcunit.so > lib/libcunit.so.1 >-share/CUnit/CUnit-List.dtd >-share/CUnit/CUnit-List.xsl >-share/CUnit/CUnit-Run.dtd >-share/CUnit/CUnit-Run.xsl >-share/CUnit/Memory-Dump.dtd >-share/CUnit/Memory-Dump.xsl >-@dirrmtry share/examples/CUnit/Curses >-@dirrmtry share/examples/CUnit/Console >-@dirrmtry share/examples/CUnit/Basic >-@dirrmtry share/examples/CUnit/Automated >-@dirrmtry share/examples/CUnit >-@dirrmtry share/CUnit/Test >-@dirrm share/CUnit >+lib/libcunit.so.1.0.1 >+man/man3/CUnit.3.gz > @dirrm include/CUnit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191481
: 144247