Lines 69-79
Link Here
|
69 |
post-patch: |
69 |
post-patch: |
70 |
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc |
70 |
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc |
71 |
|
71 |
|
|
|
72 |
pre-install: |
73 |
.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE) |
74 |
@${ECHO} "" |
75 |
@${ECHO} "It seems that there is already a version of hmake installed on" |
76 |
@${ECHO} "this system. Since hmake is part of nhc98, please deinstall it," |
77 |
@${ECHO} "or define OVERRIDE_HMAKE to override the installed version." |
78 |
@${ECHO} "" |
79 |
@${FALSE} |
80 |
.endif |
72 |
# We need this to ensure that the libs will be installed into |
81 |
# We need this to ensure that the libs will be installed into |
73 |
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed |
82 |
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed |
74 |
# into the build directory. The configure option won't work in the |
83 |
# into the build directory. The configure option won't work in the |
75 |
# ports system. |
84 |
# ports system. |
76 |
pre-install: |
|
|
77 |
${RM} -f ${WRKSRC}/include/*.orig |
85 |
${RM} -f ${WRKSRC}/include/*.orig |
78 |
${SED} -e "s#LIBDIR=.*##" \ |
86 |
${SED} -e "s#LIBDIR=.*##" \ |
79 |
< ${WRKSRC}/targets/ix86-FreeBSD/config.cache \ |
87 |
< ${WRKSRC}/targets/ix86-FreeBSD/config.cache \ |