Index: bsd.port.mk =================================================================== --- bsd.port.mk (révision 341340) +++ bsd.port.mk (copie de travail) @@ -1603,6 +1603,7 @@ .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) STRIP_CMD= ${TRUE} +MAKE_ENV= DONTSTRIP=yes DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .endif @@ -2307,7 +2308,11 @@ PKG_DBDIR?= /var/db/pkg ALL_TARGET?= all +.if defined(GNU_CONFIGURE) +INSTALL_TARGET?= install-strip +.else INSTALL_TARGET?= install +.endif INSTALL_TARGET+= ${LATE_INSTALL_ARGS} # Integrate with the license auditing framework