Bug 184053 - net/openldap24-server: perl_back.h:22:18: error: perl.h: No such file or directory
Summary: net/openldap24-server: perl_back.h:22:18: error: perl.h: No such file or dire...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 14:40 UTC by Anton Lukyanov
Modified: 2015-03-15 21:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Lukyanov 2013-11-18 14:40:00 UTC
Port net/openldap24-server have dependency problem: port lang/perlX.XX not added to dependency variables (BUILD_DEPENDS, RUN_DEPENDS) if option PERL is set.

Fix: 

NO_STAGE=      yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>

 .if defined(CLIENT_ONLY)
 PORTDOCS=              CHANGES drafts rfc
@@ -475,6 +475,7 @@

 # end of client/server specific configuration
 .endif
+.include <bsd.port.pre.mk>

 .if defined(WITH_CLDAP)
 CPPFLAGS+=             -DLDAP_CONNECTIONLESS--H0OMk14j6DFV9KuiCrC8phBOwbGwTA4oXhK4nbJ957no1E98
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2013-11-13 16:08:57.000000000 +0400
+++ Makefile    2013-11-13 16:08:07.000000000 +0400
@@ -125,7 +125,7 @@
 CONFIGURE_SED=         -e 's,-kthread,${PTHREAD_LIBS},g' -e 's,uuid/uuid.h,xxuuid/uuid.h,g'
How-To-Repeat: Set option PERL on port net/openldap24-server and run make.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-18 14:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Bartek Rutkowski freebsd_committer freebsd_triage 2015-03-15 21:54:22 UTC
I've tested the build of net/openldap24-server 2.4.40 on 8.4, 9.3 and 10.1 amd64/i386 with PERL option set and it builds just fine, so I am closing this PR as I can't reproduce the original issue.