Bug 42843 - www/links needs LDFLAGS/CPPFLAGS setting for LOCALBASE cleanliness
Summary: www/links needs LDFLAGS/CPPFLAGS setting for LOCALBASE cleanliness
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: Dmitry Sivachenko
Depends on:
Reported: 2002-09-16 17:00 UTC by Thomas Hurst
Modified: 2002-10-06 08:14 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hurst 2002-09-16 17:00:11 UTC
	www/links configure has a hardcoded check for /usr/local added to
	LD/CPPFLAGS.  This is fine for most systems, but with a modified
	LOCALBASE it obviously doesn't work, since bsd.ports.mk and friends
	do not set it beforehand.

Fix: This quickfix allows it to compile properly:

A better fix may be to set them in bsd.ports.mk, ala NetBSD bsd.pkg.mk.--UM1phxtBLPAP1BO3rlURqgOiPUIerNWjsv7cedauqDpuJ5Xq
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile~    Sat Aug 31 13:58:08 2002
+++ Makefile    Mon Sep 16 16:46:42 2002
@@ -27,6 +27,7 @@
                jpeg.9:${PORTSDIR}/graphics/jpeg \
 USE_XLIB=      yes
 CONFIGURE_ARGS+=       --enable-graphics --with-x
How-To-Repeat: 	Install some libs it needs to LOCALBASE!=/usr/local, try to compile.
Comment 1 Ying-Chieh Liao freebsd_committer 2002-09-16 19:14:11 UTC
Responsible Changed
From-To: freebsd-ports->demon

over to maintainer
Comment 2 Dmitry Sivachenko freebsd_committer 2002-10-06 08:13:43 UTC
State Changed
From-To: open->closed

Patch committed, thanks!