Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 19:31:24 +0200
From:      "Soeren Straarup" <xride@x12.dk>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/102196: [Maintainer-fix] Respect CPPFLAGS and LDFLAGS
Message-ID:  <1155835884.1446@thurisaz>
Resent-Message-ID: <200608171740.k7HHeGjW037381@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102196
>Category:       ports
>Synopsis:       [Maintainer-fix] Respect CPPFLAGS and LDFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 17 17:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Soeren Straarup
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.1-PRERELEASE #1: Fri Mar  3 08:26:44 CET 2006
    xride@thurisaz:/usr/src/sys/i386/compile/thurisaz



>Description:


Respect CPPFLAGS and LDFLAGS


>How-To-Repeat:





>Fix:


--- comms_linpsk.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/linpsk/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	5 Jun 2006 11:25:33 -0000	1.7
+++ Makefile	17 Aug 2006 17:24:56 -0000
@@ -25,8 +25,8 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-qtdir=${X11BASE} --prefix=${PREFIX}
 
--- comms_linpsk.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1155835884.1446>