Bug 168514 - www/mod_perl2: allow build with clang/gcc47+
Summary: www/mod_perl2: allow build with clang/gcc47+
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 03:50 UTC by Dima Panov
Modified: 2012-07-05 20:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.50 KB, patch)
2012-06-01 03:50 UTC, Dima Panov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Panov freebsd_committer 2012-06-01 03:50:02 UTC
	
	www/mod_perl2: allow build a correct library with clang/gcc47+ 
	by disabling APR_INLINE because FreeBSD default port settings not uses
	bundled apr from apache tarball.
	BTW, force compiler to use gnu89 C standard.
	Idea was originally from MacPorts.
	
	PORTREVISION bumped to force rebuild already installed incorrect library
	Added newline at EOF to distinfo

How-To-Repeat: 	
	build port with clang or gcc47+
	try to start apache with enabled module
Comment 1 Edwin Groothuis freebsd_committer 2012-06-01 08:55:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Shane 2012-06-01 09:14:39 UTC
+1
I came up with a matching replace cmd to compile with clang on releng/9
Comment 3 dfilter service freebsd_committer 2012-07-05 20:13:05 UTC
ohauer      2012-07-05 19:12:50 UTC

  FreeBSD ports repository

  Modified files:
    www/mod_perl2        Makefile pkg-plist 
  Log:
  - allow build a correct library with clang/gcc47+ by disabling
    APR_INLINE because FreeBSD default port settings not uses
    bundled apr from apache tarball.
  - force compiler to use gnu89 C standard.
  - bump PORTREVISION
  
  with hat apache@
  
  PR:             ports/168514
  Submitted by:   Dima Panov <fluffy@freebsd.org>
  
  Revision  Changes    Path
  1.79      +12 -2     ports/www/mod_perl2/Makefile
  1.37      +3 -0      ports/www/mod_perl2/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Olli Hauer freebsd_committer 2012-07-05 20:13:47 UTC
State Changed
From-To: open->closed

Committed, Thanks!