Lines 1-6
Link Here
|
1 |
PORTNAME= binutils |
1 |
PORTNAME= binutils |
2 |
DISTVERSION= 2.40 |
2 |
DISTVERSION= 2.40 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
PORTEPOCH?= 1 |
4 |
PORTEPOCH?= 1 |
5 |
CATEGORIES?= devel |
5 |
CATEGORIES?= devel |
6 |
MASTER_SITES= SOURCEWARE/binutils/releases |
6 |
MASTER_SITES= SOURCEWARE/binutils/releases |
Lines 82-91
BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
Link Here
|
82 |
USES+= iconv |
82 |
USES+= iconv |
83 |
.endif |
83 |
.endif |
84 |
|
84 |
|
85 |
CONFIGURE_ARGS+= --disable-shared \ |
85 |
CONFIGURE_ARGS+= --target=${BUTARGET} |
86 |
--target=${BUTARGET} |
|
|
87 |
.endif |
86 |
.endif |
88 |
|
87 |
|
|
|
88 |
.if ${FLAVOR} == native |
89 |
CONFIGURE_ARGS+= --enable-shared |
90 |
PLIST_SUB+= SHARED='' |
91 |
.else |
92 |
CONFIGURE_ARGS+= --disable-shared |
93 |
PLIST_SUB+= SHARED='@comment' |
94 |
.endif |
95 |
|
96 |
|
89 |
.if ${FLAVOR} == native |
97 |
.if ${FLAVOR} == native |
90 |
BUREMOVE= coffdump \ |
98 |
BUREMOVE= coffdump \ |
91 |
dlltool \ |
99 |
dlltool \ |
Lines 146-151
post-patch:
Link Here
|
146 |
|
154 |
|
147 |
post-install: |
155 |
post-install: |
148 |
.if ${FLAVOR} == native |
156 |
.if ${FLAVOR} == native |
|
|
157 |
@${STRIP_CMD} \ |
158 |
${STAGEDIR}${PREFIX}/lib/lib*.so* \ |
159 |
${STAGEDIR}${PREFIX}/lib/bfd-plugins/libdep.so |
149 |
${INSTALL_DATA} ${WRKSRC}/include/plugin-api.h ${STAGEDIR}${PREFIX}/include/ |
160 |
${INSTALL_DATA} ${WRKSRC}/include/plugin-api.h ${STAGEDIR}${PREFIX}/include/ |
150 |
@${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \ |
161 |
@${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \ |
151 |
${SED} -e 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} |
162 |
${SED} -e 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} |