Bug 244662 - lang/perl5.30 fails to set include path in clean PREFIX
Summary: lang/perl5.30 fails to set include path in clean PREFIX
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-07 21:55 UTC by Dirk Meyer
Modified: 2020-03-07 21:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Meyer freebsd_committer 2020-03-07 21:55:47 UTC
building perl5.30 with a clean PREFIX completes,
but include path is not added, so some perl modules fail to build.

Pkg tools installed on different PREFIX
/etc/make.conf
PKG_PREFIX=/usr/pkgng
PKG_BIN=${PKG_PREFIX}/sbin/pkg-static

Diff of configure stage:
 ===>  Configuring for perl5-5.30.1
[...]
 Any additional cc flags?
-[-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong]  
+[-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include]  
[...]
-Directory /usr/local/bin doesn't exist.  Use that name anyway? [y]  
[...]
-Directory /usr/local/bin doesn't exist.  Use that name anyway? [y]  
[...]
-Directory /usr/local/bin doesn't exist.  Use that name anyway? [y]  
[...]
-cflags.SH: ccflags  = -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2
+cflags.SH: ccflags  = -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2


crude Workaround:

Makefile.local:
pre-configure:
  /bin/mkdir -p ${PREFIX}/include
  /bin/mkdir -p ${PREFIX}/lib
  /bin/mkdir -p ${PREFIX}/bin