diff options
author | gerald <gerald@FreeBSD.org> | 2014-02-24 04:50:10 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2014-02-24 04:50:10 +0800 |
commit | 197f399894dd3fbbe9f08d19da8ff2fa6c94c17d (patch) | |
tree | 372e9d5541e6df0dcc5b216845e2ff8c05dbdc7f /french | |
parent | 3377d248226d69f57c7bf690332c3ad6451c5c73 (diff) | |
download | freebsd-ports-gnome-197f399894dd3fbbe9f08d19da8ff2fa6c94c17d.tar.gz freebsd-ports-gnome-197f399894dd3fbbe9f08d19da8ff2fa6c94c17d.tar.zst freebsd-ports-gnome-197f399894dd3fbbe9f08d19da8ff2fa6c94c17d.zip |
Use ${LDFLAGS} instead of constructing -L${LOCALBASE}/lib/${CC} manually
(plus this now also provides proper -rpath for GCC runtime libraries).
Approved by: thierry (maintainer)
Diffstat (limited to 'french')
-rw-r--r-- | french/aster/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/french/aster/Makefile b/french/aster/Makefile index a12648631986..1e76a8b8e6d6 100644 --- a/french/aster/Makefile +++ b/french/aster/Makefile @@ -261,7 +261,7 @@ pre-configure: .endif ${ECHO_CMD} "CC='${CC}'" >> ${WRKSRC}/setup.cfg ${ECHO_CMD} "CXX='${CXX}'" >> ${WRKSRC}/setup.cfg - ${ECHO_CMD} "CXXLIB = '-L${LOCALBASE}/lib/${CC} -lstdc++ -lsupc++'" \ + ${ECHO_CMD} "CXXLIB = '${LDFLAGS} -lstdc++ -lsupc++'" \ >> ${WRKSRC}/setup.cfg ${ECHO_CMD} "LD='${FC}'" >> ${WRKSRC}/setup.cfg ${ECHO_CMD} "F90='${LOCALBASE}/bin/${FC}'" >> ${WRKSRC}/setup.cfg |