tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adjusting BUILDLINK_LIBDIRS.${_pkg_} to fix build issues on 64bit linux



At least for 64 bit linux it doesn't seem to make sense to include
LIBABISUFFIX in BUILDLINK_LIBDIRS. With the following change my RedHat
ES amd64 box seems happy with pkgsrc. Maybe someone with better
buildlink fu could comment?

Thanks


--- mk/buildlink3/bsd.buildlink3.mk     2 May 2010 18:32:29 -0000       1.208
+++ mk/buildlink3/bsd.buildlink3.mk     14 Nov 2010 19:07:43 -0000
@@ -356,7 +356,7 @@
 BUILDLINK_LDFLAGS.${_pkg_}?=   # empty
 BUILDLINK_LIBS.${_pkg_}?=      # empty
 BUILDLINK_INCDIRS.${_pkg_}?=   include
-BUILDLINK_LIBDIRS.${_pkg_}?=   lib${LIBABISUFFIX}
+BUILDLINK_LIBDIRS.${_pkg_}?=   lib
 .  if !empty(BUILDLINK_DEPMETHOD.${_pkg_}:Mfull)
 BUILDLINK_RPATHDIRS.${_pkg_}?= ${BUILDLINK_LIBDIRS.${_pkg_}}
 .  else
@@ -527,7 +527,7 @@
        ${RUN}${LN} -sf ${BUILDLINK_DIR} ${BUILDLINK_X11_DIR}
 .endif
        ${RUN}${MKDIR} ${BUILDLINK_DIR}/include
-       ${RUN}${MKDIR} ${BUILDLINK_DIR}/lib${LIBABISUFFIX}
+       ${RUN}${MKDIR} ${BUILDLINK_DIR}/lib

 # The following variables are all optionally defined and control which
 # package files are symlinked into ${BUILDLINK_DIR} and how their names


Home | Main Index | Thread Index | Old Index