pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42926 (m4 doesn't build because an include error)



The following reply was made to PR pkg/42926; it has been noted by GNATS.

From: Johannes Hofmann <Johannes.Hofmann%gmx.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: dfly-pkg-people%netbsd.org@localhost, pkg-manager%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
obache%netbsd.org@localhost,
        tuxillo%leaf.dragonflybsd.org@localhost
Subject: Re: pkg/42926 (m4 doesn't build because an include error)
Date: Wed, 17 Mar 2010 23:38:46 +0100

 Upstream lib/fflush.c now already contains DragonFly specific code,
 and m4 compiles and builds just fine without the DFLY-specific
 fflush.c.  Also it passes the same tests with and without the patch.
 
 So maybe we could just remove the DFLY-specific fflush like this:
 
 diff --git a/devel/m4/Makefile b/devel/m4/Makefile
 index 774cd20..d51e533 100644
 --- a/devel/m4/Makefile
 +++ b/devel/m4/Makefile
 @@ -35,11 +35,6 @@ PLIST.gm4=          yes
  CFLAGS+=      -D_LINUX_SOURCE_COMPAT
  .endif
  
 -.if ${OPSYS} == "DragonFly"
 -post-patch:
 -      ${CP} ${FILESDIR}/bsd-fflush.c ${WRKSRC}/lib/fflush.c
 -.endif
 -
  post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/m4
        ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 
${DESTDIR}${PREFIX}/share/examples/m4
 
 
 


Home | Main Index | Thread Index | Old Index